433 Total Views You are no longer using a stored procedure and want to drop it from database. Drop stored procedure from database using DROP PROCEDURE…
Category: Sql Server
how to drop a store procedure if exists in sql server
1,106 Total Views You are no longer using a stored procedure and want to drop it from database. Drop stored procedure from database using DROP PROCEDURE…
how to insert result of stored procedure into temporary table in sql server
1,818 Total Views This recipe will explain with Step by step example of how to insert result of a store procedure into temporary table in sql…
how to replace null with 0 in sql server
1,726 Total Views, 2 views today Problem: Replace null value with 0 in sql server You are selecting rows from a table, and your results contain NULL…
how to check table size in sql server
395 Total Views SQL Server provides a built-in stored procedure sp_spaceused. By executing this stored procedure you can easily find the size of a table, including…
how to rename table in sql server
445 Total Views Rename table name in Sql Server By using sp_rename stored procedure you can rename table name. Syntax: exec sp_rename ‘Schema_Name.Old_Table_Name’, ‘New_Table_Name’; Example: USE…
String or binary data would be truncated
459 Total Views This recipe will demonstrate how to Fix Sql Server Msg 8152, Level 16, State 14, Line 1 String or binary data would be…
Cannot Insert Explicit Value For Identity Column In Table
420 Total Views This recipe will demonstrate how to Fix Msg 544, Level 16, State 1, Line 1 Cannot insert explicit value for identity column in…
Sql Drop Temp Table If Exists
1,444 Total Views, 2 views today Sql Drop Temp Table If Exists: Drop a temporary table if it is already created or exists. Then you can create…
Drop Table If Exists Sql Server
356 Total Views Drop Table If Exists Sql Server: Use the DROP TABLE statement to drop or remove an existing table definition and data for the…