Instead of...
ALTER TABLE dbo.table ADD col int NOT NULL DEFAULT (0)
... use...
ALTER TABLE dbo.table ADD col int NOT NULL CONSTRAINT DF_table_col DEFAULT (0)
And if you forgot, here's a script for you to help fix the database.
Instead of...
ALTER TABLE dbo.table ADD col int NOT NULL DEFAULT (0)
... use...
ALTER TABLE dbo.table ADD col int NOT NULL CONSTRAINT DF_table_col DEFAULT (0)
And if you forgot, here's a script for you to help fix the database.
#java27 #datascience #sqlserver
#java27 #datascience #sqlserver
buff.ly/IYkFHYg
#dewdrop #newsletter #cloud #aspnetcore #azure #javascript #css blazor #cpp #xaml #windowsdev #csharp #dotnet #ai #mcp #agile #devops #python #appdev #podcasts #m365 #sqlserver #data #terminal #cli #devtools
buff.ly/IYkFHYg
#dewdrop #newsletter #cloud #aspnetcore #azure #javascript #css blazor #cpp #xaml #windowsdev #csharp #dotnet #ai #mcp #agile #devops #python #appdev #podcasts #m365 #sqlserver #data #terminal #cli #devtools
#SQLServer tip: TABLESAMPLE samples pages, not rows.
Our 10% sample: 187 runs of ~56 adjacent rows. A cluster sample.
For random rows (full scan + sort):
SELECT TOP (10) PERCENT *
FROM t
ORDER BY NEWID();
#SSMS #Statistics
#SQLServer tip: TABLESAMPLE samples pages, not rows.
Our 10% sample: 187 runs of ~56 adjacent rows. A cluster sample.
For random rows (full scan + sort):
SELECT TOP (10) PERCENT *
FROM t
ORDER BY NEWID();
#SSMS #Statistics
Find in Files: Ctrl+Shift+H
Back to grid: Ctrl+D
RenSQL for SSMS: run SQL without selecting, query history, SQL library. rowdyne.com/rensql
#SSMS #SQLServer
Find in Files: Ctrl+Shift+H
Back to grid: Ctrl+D
RenSQL for SSMS: run SQL without selecting, query history, SQL library. rowdyne.com/rensql
#SSMS #SQLServer
youtu.be/t7v-4nDWIJk
#MicrosoftFabric #FabricWarehouse #FabricInsider #GPU #DataWarehouse #SQLServer #TPCH #SIGMOD #AIAgents #DataEngineering #Performance #PowerBI #DataAnalytics #Microsoft #RADACAD
youtu.be/t7v-4nDWIJk
#MicrosoftFabric #FabricWarehouse #FabricInsider #GPU #DataWarehouse #SQLServer #TPCH #SIGMOD #AIAgents #DataEngineering #Performance #PowerBI #DataAnalytics #Microsoft #RADACAD
TencentCloudApi php sdk sqlserver
🔗 https://github.com/tencentcloud-sdk-php/sqlserver
TencentCloudApi php sdk sqlserver
🔗 https://github.com/tencentcloud-sdk-php/sqlserver
buff.ly/V898RSn
#sqlserver #database #azuresql #mcp #ai #cloud #azure #docker #containers
buff.ly/V898RSn
#sqlserver #database #azuresql #mcp #ai #cloud #azure #docker #containers
#SQLFamily #SQLServer #SQL #Data #AzureSQLServer #Azure #MicrosoftFabric #Fabric #Analytics #PerformanceTuning #AI #MVP #MicrosoftMVP #DataPlaform
#SQLFamily #SQLServer #SQL #Data #AzureSQLServer #Azure #MicrosoftFabric #Fabric #Analytics #PerformanceTuning #AI #MVP #MicrosoftMVP #DataPlaform
In which I cover ANSI_NULLS and QUOTED_IDENTIFIER, two potentially dangerous SET options that stored procedures inherit from your session when created.
vladdba.com/2025/03/03/d...
#sqlserver #sqldba #microsoftsqlserver #mssqlserver #mssql #mssqldba
In which I cover ANSI_NULLS and QUOTED_IDENTIFIER, two potentially dangerous SET options that stored procedures inherit from your session when created.
vladdba.com/2025/03/03/d...
#sqlserver #sqldba #microsoftsqlserver #mssqlserver #mssql #mssqldba
🕘Sign up here: www.meetup.com/vancouver-po...
🕘Sign up here: www.meetup.com/vancouver-po...
SQLserverなどの一部のRDBMSでは、(トランザクション内なら)TRUNCATE TABLEはロールバックできるんですね。
知りませんでした。
blog.k-bushi.com/post/tech/da...
SQLserverなどの一部のRDBMSでは、(トランザクション内なら)TRUNCATE TABLEはロールバックできるんですね。
知りませんでした。
blog.k-bushi.com/post/tech/da...
SET NOEXEC ON;
GO
at the top and hit F5. SQL Server compiles every batch but executes nothing. Typos and wrong column names show up; no data changes.
It stays on for the session: run SET NOEXEC OFF; before the real run.
#SQLServer #DBA
SET NOEXEC ON;
GO
at the top and hit F5. SQL Server compiles every batch but executes nothing. Typos and wrong column names show up; no data changes.
It stays on for the session: run SET NOEXEC OFF; before the real run.
#SQLServer #DBA
In RenSQL: put the cursor anywhere in the statement, press Ctrl+Shift+E. It finds the statement and runs just that one.
#SSMS #SQLServer
In RenSQL: put the cursor anywhere in the statement, press Ctrl+Shift+E. It finds the statement and runs just that one.
#SSMS #SQLServer
leemarkum.com/archive/2026...
#sqlserver
leemarkum.com/archive/2026...
#sqlserver
https://aws.amazon.com/rds/sqlserver/ now supports the latest Cumulative Updates (CU) and General Distribution Release (GDR) updates for Microsoft SQL Server....
#AWS #AwsGovcloudUs #AmazonRdsForSqlServer
https://aws.amazon.com/rds/sqlserver/ now supports the latest Cumulative Updates (CU) and General Distribution Release (GDR) updates for Microsoft SQL Server....
#AWS #AwsGovcloudUs #AmazonRdsForSqlServer