binary

Technical Article

RE: Create an ALERT for successful Backup ???

  • Reply

USE MESSAGE 18264 to create the alert!ex:IF (EXISTS (SELECT name FROM msdb.dbo.sysalerts WHERE name = N'Some body run a BACKUP successfuly'))  ---- Delete the alert with the same name.   EXECUTE msdb.dbo.sp_delete_alert @name = N'Some body run a BACKUP successfuly' BEGIN EXECUTE msdb.dbo.sp_add_alert @name = N'Some body run a BACKUP successfuly', @message_id = 18264, @severity […]

You rated this post out of 5. Change rating

2005-05-05

Technical Article

Converting Query Results to Negative Numbers -- Totalling Results

  • Topic

I was given the following example to convert data to negative numbers in a given condition:SELECT RecordType, CASE WHEN RecordType = 20 THEN (Quantity_Ord * -1) ELSE Quantity_Ord END AS Quantity_Ordered FROM TABLENAMEIt works great, but I also need to total the results.  When I tell it to sum the quantity_ordered column, SQL keeps giving […]

You rated this post out of 5. Change rating

2005-02-24

4 reads

Technical Article

RE: DOES Full backup Clear out Transaction Logs?

  • Reply

Understood, but why do they have "Terminate users" option for the Standby option?From many technical paper, it seems to suggest that even Read-only copy, user will get booted off if you have the "terminate users" option selected.Check it out!  It's annoying to have to do the extra step and it's confusing as well. If it […]

You rated this post out of 5. Change rating

2004-06-17

Technical Article

RE: scripting views

  • Reply

1. I have around 150 views and ALL can be scripted out. So I don't know what are you talking about. 2. Are you using anything special like schemabinding or are the views dependencies Too Deep ? It may be worth researching a little bit more!

You rated this post out of 5. Change rating

2003-11-25

Blogs

Deleting Old Local Git Branches–#SQLNewBlogger

By

I had a lot of local branches for a repo (actually a few repos)....

Use Your Voice

By

If you want more of a career and less of a job, one thing...

Real-World SQL Mastery: Your Hands-On, Mess-Free Sandbox

By

Are you ready to take your SQL skills from theoretical to tactical? If you've...

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