September 05 2010 21:19:40
Navigation
· Home
· Sample Videos
· Contact Info
· Email Me
· Web Links
· Order Online

MS/SQL 2005
· Editions/Pricing
· Articles/FAQs
· Search

Coming Soon
· Order Online
· Courseware Outline (PDF)
· Downloads
Contribute to This Site
· Submit Link
Users Online
· Guests Online: 1

· Members Online: 0

· Total Members: 71
· Newest Member: Isakov23Gennadij
RSS Feeds at the site
RSS - Articles
RSS - News
Articles: General SQL
Copy or Clone An Existing Table to a New Table
Simple SQL command to copy a table.

How to list/display all triggers
SELECT name FROM sysobjects WHERE xtype='TR'

Sample Trigger to Create Audit History
You often want an automated audit of all or selected columns from a table. A trigger provides an easy way to do that. Then, when someone makes a change in a VB program, a C# program, Query Analyzer, Enterprise Manager, or anywhere else, the audit info is ALWAYS stored by the SQL Server itself (rather than relying on coding procedures).
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Sister Sites
SharePoint Video Training

VbScript Training

Biztalk Training

XML Tutorials

Magic-Drink.com

Hebrew Language

Render time: 0.05 seconds 68,705 unique visits