Tag Archives: T-SQL

Truncate Table with Foreign Key constraint

Truncate Table with Foreign Key constraint This post helps you in automating the process of Truncate Table with Foreign Key constraint”. We recently working for a client on data migration project. There was a requirement for truncating tables. But we … Continue reading

Posted in SQL Development, SQL Scripts, SQL Server DBA | Tagged , , , , | 1 Comment

How to Truncate only the Selected Tables from Database

How to Truncate only the Selected Tables from Database How to Truncate only the Selected Tables from Database? This stored procedure helps you out in truncating the selected tables. These tables has to be passed as a string parameter to … Continue reading

Posted in SQL Scripts | Tagged , , , , | Leave a comment

How to use CASE in Where Condition

How to use CASE in Where Condition We had a situation in which we had to use case in where condition. This post helps in understanding “How to use CASE in Where Condition”. Lets consider a situation where we need … Continue reading

Posted in SQL Development, SQL Scripts | Tagged , , , | Leave a comment