Technical Article

Truncating and deleting all tables in a database

Sometimes, during test stage, you may need to truncate or delete all your tables in a database, without droping constraints, truncating and recreating constraints (DRI). You can use the TRUNCATE TABLE statement to removes all rows from a table without logging the individual row deletes, but tables referenced by a FOREIGN KEY constraint can not […]

4.67 (3)

You rated this post out of 5. Change rating

2002-04-17

1,541 reads

Technical Article

List of triggers in a database

Give the following information, about triggers in the database.Parent_Name      Parent_Type Name                         Type               Insert Update Delete IsFirstInsertTrigger IsFirstUpdateTrigger IsFirstDeleteTrigger IsLastInsertTrigger IsLastUpdateTrigger IsLastDeleteTrigger

4.5 (2)

You rated this post out of 5. Change rating

2002-04-16

815 reads

Blogs

Moving T-SQL Tuesday to Jekyll

By

I got a message a few months back that Microsoft was deprecating the MySQL...

European Microsoft Fabric Community Conference announcements

By

A TON of new features announcements at the European Microsoft Fabric Community Conference help...

RDS Connectivity

By

I travel quite a lot for work. Most of it is in the US...

Read the latest Blogs

Forums

An error occurred while skipping data rows

By yrstruly

I am trying to build an ETL for an Existing Table. The ETL (SSIS)...

What is causing this error?

By Rod at work

(This is probably the wrong forum to be posting this question, so please forgive...

Changetracking disabled in database snapshot, new bug in ms sql 2019 ?

By FHoornaert

Hi, We are using database snapshot together with changetracking to keep a datawarehouse up...

Visit the forum

Question of the Day

Data Migration Assistant Targets

In the current (2024) version of the Data Migration Assistant, which on-premises targets are available?

See possible answers