Skip to content Skip to sidebar Skip to footer
Showing posts with the label Sql Server

BLOB To String, SQL Server

Answer : Problem was apparently not the SQL server, but the NAV system that updates the field. T… Read more BLOB To String, SQL Server

Auto Increment Primary Key In SQL Server Management Studio 2012

Answer : Make sure that the Key column's datatype is int and then setting identity manually… Read more Auto Increment Primary Key In SQL Server Management Studio 2012

AspenTech InfoPlus 21 - How To Connect And Query Data

Answer : InfoPlus21 is process historian containing list of templates of different tag structure… Read more AspenTech InfoPlus 21 - How To Connect And Query Data

Bacpac Vs Dacpac For Migrating Database To Azure

Answer : As Grant said bacpac is dacpac+data.Below is one more definition that might help &quo… Read more Bacpac Vs Dacpac For Migrating Database To Azure

Can I Loop Through A Table Variable In T-SQL?

Answer : Add an identity to your table variable, and do an easy loop from 1 to the @@ROWCOUNT of… Read more Can I Loop Through A Table Variable In T-SQL?

Best Approach To Remove Time Part Of Datetime In SQL Server

Answer : Strictly, method a is the least resource intensive: a) select DATEADD(dd, DATEDIFF(dd… Read more Best Approach To Remove Time Part Of Datetime In SQL Server

Add Default Value Of Datetime Field In SQL Server To A Timestamp

Answer : For modifying an existing column in an existing table: ALTER TABLE YourTable ADD CONS… Read more Add Default Value Of Datetime Field In SQL Server To A Timestamp

Changing SqlConnection Timeout

Answer : If you want to provide a timeout for a particular query, then CommandTimeout is the way… Read more Changing SqlConnection Timeout