Synchronize the DB user SID with the Login SID

If you attach a DB on an SQL Server different from the SQL Server where the DB was initially created, you will usually come up with a situation where a login will be a DB user however, you cannot see this through the login properties screen. That happens because the name of the login exists […]

2005-04-21 (first published: )

1,338 reads

Change the probability of the pseudo-random values

The usual practice, when we need some test data, is to employ the pseudo-random built-in function RAND(). We usually use it to produce a random value in some range and it produces these values with the same probabilities. Sometimes we need more "realistic" data when some values are more probable than others are. In this […]

5 (1)

2002-10-04

249 reads

Blogs

SQLSaturday Automatic Messages

By

For those who haven’t used the admin tools for SQLSaturday when an event is...

Using the Announcement/News Part of SQLSaturday

By

One of the interesting but not often used features of the SQLSaturday tools is...

SQLSaturday Orlando 2019 Begins

By

We’ll be event number 911, set for September 28th at our usual location at...

Read the latest Blogs

Forums

Statistics Profile Results

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Statistics Profile Results

Transaction was deadlocked on lock | communication buffer resources with another

By sridharkannan7

I have a table that contains case numbers. The following stored procedure assigns a...

Microsoft and Oracle Cloud Partnership

By Kathi Kellenberger

Comments posted to this topic are about the item Microsoft and Oracle Cloud Partnership

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers