Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 236809

All versions of Microsoft SQL Server (not MySQL). Please also add a version-specific tag, like sql-server-2016, since it is often relevant to the question.

0 votes
1 answer
464 views

What does the "D" mean in SQL syntax?

Piotr Kononow's post List all indexes in SQL Server database contains an example of SQL query to list all indexes in a SQL Server database. And we have confirmed in testing that the example works inde …
James's user avatar
  • 149
0 votes
1 answer
362 views

Confusion on SQL Server domain\username after Windows changing hostname

We have a SQL Server 2016 running on a virtual machine of Windows 2016. Previously, the virtual machine's hostname was WIN when we installed the SQL Server, so the database engine's server name was WI …
James's user avatar
  • 149
0 votes
1 answer
279 views

Got an error when trying to get ER-diagram on SQL Server

We are using Microsoft SQL Server 2016 Management Studio (version 13.0.16106.4) connecting to an instance of SQL Server 2016 running on Windows 2016. The authentication is "SQL Server Authentication" …
James's user avatar
  • 149
-1 votes
1 answer
77 views

For row-level or page-level, how to undo a compression in SQL Server? With SQL command and/o...

We want to compress a table, using SQL statements like the samples below. And, just in case any issue happened after the compression, and we need to roll back to the last good point. How do we do it? …
James's user avatar
  • 149
0 votes
1 answer
43 views

How to compose a SQL Server command for doing and un-doing compressions

The difference between simple and detailed WITH clauses: In YouTube tutorial SQL Server Tutorial 20: Table, Index and Row Compression, the example at time 5:43 contains a simple WITH clause of the ind …
James's user avatar
  • 149
0 votes
1 answer
135 views

Need help on SQL Server data compression, hope to compress more on a large table

We have made good progress following our previous question about SQL Server data compression. For one of the tables, we compressed it from 20 GB to 2 GB, so this proves that the best compression ratio …
James's user avatar
  • 149
0 votes
0 answers
320 views

SSDT building error saying "unresolved reference to Login"

We retrieved source code from a SQL Server 2016 database and made a Visual Studio 2015 SSDT (SQL Server Data Tool) project. The source code contains a file Security\foglight5.sql with the below conten …
James's user avatar
  • 149
0 votes
2 answers
256 views

About version control on the programming scripts of SQL Server, e.g., stored procedures and ...

We have an instance of SQL Server (MSSQL) version 2016, and the database contains programming scripts, e.g., stored procedures and functions. For the programming scripts of MSSQL, we wonder how to do …
James's user avatar
  • 149
0 votes
1 answer
142 views

How to compress data in SQL Server? The data warehouse raw data is times bigger than the MyS...

For reporting purposes, we have a DWH (data warehouse) doing ETLs (extract-transform-load) to retrieve data from selected tables in a production OLTP (on-line transaction processing) database. The ETL …
James's user avatar
  • 149