Top new questions this week:
|
tl;dr – As the title states – If I disable a non-clustered index on a table, are the linked statistics for that index still used? I’m aware there are many questions about “dropping vs disabling …
|
I have this statistics histogram vector for my non-clustered index made on LastName column of a table named AspNetUsers. If I run a query as SELECT * FROM dbo.AspNetUsers WHERE LastName = ‘Baker’ it …
|
I am looking at list of SQL keywords here www.postgresql.org/docs/current/sql-keywords-appendix.html There are some single letter keywords there. I cannot find any information about them. …
|
I am exploring extended events query tracking and have question on couple of odd queries like following: Example 1: select top 10 * from ( SELECT [id] ,[date] ,[ordnum] , […
|
I have PostgreSQL installed on my Mac and Ubuntu Server as shown below: atsweb=# select version(); version …
|
I am looking at the dm_exec_sessions and requests DMVs on a production server. There are some queries with status ‘suspended’, a duration of 12 minutes, and a wait type of ASYNC_NETWORK_IO. I …
|
It seems that altering a column from timestamp without time zone to timestamp with time zone converts the existing data based on the current session time zone at the time of the alter statement. See …
|
Greatest hits from previous weeks:
|
The Debug button is present on this version of SSMS: But it is not present on version 18, preview 4: I have tried in several ways to add the Debug button to my SSMS but not successful. Is there a …
|
MySQL’s SHOW GRANTS shows the permissions of the current user. Is there a way to log in as root and show the permissions of all users?
|
I use PostgreSQL 9.1 on Ubuntu 12.04. I need to select records inside a range of time: my table time_limits has two timestamp fields and one integer property. There are additional columns in my …
|
I have a table items (item_id serial, name varchar(10), item_group int) and a table items_ver (id serial, item_id int, name varchar(10), item_group int). Now I want to insert a row into items_ver …
|
I’m new to Postgres and trying to migrate our MySQL databases over. In MySQL I can grant SELECT, UPDATE, INSERT, and DELETE privileges on a low privileged user and enable those grants to apply to all …
|
I have received a database file and the instructions for loading it is to install SQL Server 2005 and then attach it using SQL Server Management Studio. After installing everything, I tried to attach …
|
How can I dump a specific table or set of tables without including the rest of the db tables?
|
Can you answer these questions?
|
I am using PostgreSQL Logical Replication to replicate data from multiple source databases into single one for analytical purposes. Data from the source database have the same schema and therefore …
|
I want to store IT devices which can be fixed assets (e.g. notebok, PC, printers, etc.), low value fixed assets (e.g. mobiles, printers, etc.), part devices (SSD, CPU, RAM, etc.), consumables (…
|
has anyone figured out faster way of doing postgres 14 column type change in RDS? We currently have a table that is running out of int4 space and multiple columns needs to be converted to int8. Table …
|