upgrading

Technical Article

RE: select and lock next key value

  • Reply

Or create the table as suggested and use an SP to get the next value and replace for the next caller to keep the sequence up. Ex. CREATE PROCEDURE ip_NextKeyVal @val int OUTPUT AS SET NOCOUNT ON UPDATE tbl_NextKeyVal SET @val = col_KeyVal = col_KeyVal + 1 GO Handles locking and value quite nicely.

You rated this post out of 5. Change rating

2003-05-08

Technical Article

Database dump/ tape backup scheduling

  • Topic

Scheduling of database backups: In the past I dumped our databases to a local folder at 9pm and backed the folder up to tape. Due to a shrinking time window our Sys Admins are kicking the Tape jobs off at 6pm. I have no control over when the job backs-up a given server. If the […]

You rated this post out of 5. Change rating

2001-11-23

2 reads

Technical Article

Master / msdb Log Questions

  • Topic

1. In a default SQL 7 install what database is associated with the "distmdl.mdf" and "distmdl.ldf" files? 2. The master database has components: master.mdf and mastlog.ldf. But in practice I have never been able to dump the "trans log" for the master databases. Does this mean that I can only restore the master database from […]

You rated this post out of 5. Change rating

2001-11-23

4 reads

Technical Article

Does Not Delete Expired Backup Files

  • Topic

I am having a problem with SQL Server 7.0 no sp not deleting expired backup files on a Windows NT 4.0 sp6a enviornment. I see this is a problem for the 95,98,ME platforms but can not find any information for NT. Does anyone have any ideas? Thanks for the help, Kat

You rated this post out of 5. Change rating

2001-11-23

2 reads

Blogs

Set a Runtime Variable in an Azure DevOps Pipeline

By

Note: I DO NOT recommend this. Any changes to a pipeline should be in...

A New Word: Symptomania

By

symptomania – n. the fantasy that there’s some elaborate diagnosis out there that neatly...

Query Store Keeps Switching Itself Off, Getting it Moving Again

By

I recently received a complaint that Query Store for a particular database was turned...

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