PowerShell

Technical Article

RE: 2 Questions About Triggers

  • Reply

I coded a few triggers. Here's my 2 bits. In the trigger you have access to the "inserted" and "deleted" tables. They will let you do set based queries using all the inserted, updated, or deleted records. For update triggers, having a key that is not updated (or an identity field that's not updated) will […]

You rated this post out of 5. Change rating

2003-07-25

Technical Article

RE: Single User mode

  • Reply

Hi Khalid, You can do the following to turn single user mode on/off USE master EXEC sp_dboption 'yourdb', 'single user', 'TRUE/FALSE' To why this is automatically happening I'm not sure, maybe you could post some of the log details. Laters *I didn't do anything it just got complicated*

You rated this post out of 5. Change rating

2003-07-24

1 reads

Technical Article

RE: QOD Cheats

  • Reply

quote: The point I'm trying to make is that QOD could become quite a useful method of seeing whether you are up to speed with your peers. If you have a score of 50% is that good or bad - you don't know so you compare it against your peers. If the peer results are […]

You rated this post out of 5. Change rating

2003-07-24

Technical Article

RE: Alternatives to ms-access linked tables to SQL2000

  • Reply

Using Access you could build a small app with unbound forms. Create an insert, update and delete procedure in SQL Server. SAMS Microsoft Access Developer's Guide to SQL Server has examples of how to do this. If it was just a question of updating a table with known data, the simplest way would be to […]

You rated this post out of 5. Change rating

2003-07-24

Technical Article

RE: current row in a trigger

  • Reply

In the trigger, pull out the Primary Key value from the trigger's 'Inserted' table. select (PrimaryKey field) from Inserted Or use the same statement to pull out the value of the column you are interested in. Note, if your table is likely to be updated in batches, there will be more than one row in […]

You rated this post out of 5. Change rating

2003-07-24

2 reads

Blogs

SQL Saturday Boston 2024 Slides

By

Thanks to everyone that came to my talks. Slides are below. Best Practices for...

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers