I have a series of tables in TDengine database. If I execute "show tables", I can see all of them. However, when I execute some queries on a table, it reports "Fail to get table info".
You can see the error information on the picture.
enter image description here
What may be the problem?
Related
I am using TDengine database, but the table creation statement is not displayed completely, how can I solve it?
Version: tdengine 3.0
enter image description here
I am using DataGrip as my IDE for my Postgres Database. However for a specific table the autocompletion seems to not work at all.
This is even correct when I tried pgAdmin.
Do you possible have an idea on the origin of the problem.
PS: The table does belong to same user as all the other tables. In the image below is the result of a query on pg_tables where the table in first line does not have the issue whereas the table in the second line is the one with the problem.
Screenshot of pg_tables
Screeshot of failing autocompletion on the table for the primary key
I am loading data from SQL Server to Snowflake through SSIS (Visual Studio 2015-32 bit being used here). I am able to load data successfully when the table exist only in one database. But whenever the same table with same columns exist in two databases (like Staging and Datawarehouse db), it is unable to identify which db table to be used. When i type the name of table in ODBC destination instead of selecting from drop down and the go to mappings page, the mapping tab does not come up at all.
Kindly help me resolve this issue. Please do let me know if you need any further details
I have a unknown job that is deleting records from a table on SQL server 2005. We can't find it yet. Any of you have a clue of how can we know wish stored procedure or job is deleting this records in a X table?. Is there any way to know or record on database that can tell us specifically, "this sp or job delete records from that table in this date and hour"?.
2 different approaches:
Add a trigger (For Delete) to gather the name of the logged-in user: suser_sname() or the running app. You will need to create a table to store this information (commonly known as an Audit table).
Use the Profiler to watch all traffic on the database.
The trigger approach is better and you can even block/reject/abort delete commands on a per-table basis.
Can I pinpoint SQL Profiler just to one Database, my server has around 50 Database and I just want SQL Profiler to check one Database because the site that uses that Database has gone very slow.
Yes, you can.
When you set your trace up, go to the Events Selection tab and click the "Show all columns" checkbox. Then the Database column appears and you can put a filter on the database name in Column Filters.