data analysis

Technical Article

DBO_DDLADMIN Role

  • Topic

I am currently experiencing some problems using the database role of dbo_ddladmin in SQL2K. I am adding an NT user group/ad group to the ddladmin role and the users are telling not only can they not add new objects they can't even do a simple select statement. I am not too familiar with SQL2K but […]

You rated this post out of 5. Change rating

2005-01-21

2 reads

Technical Article

RE: Copy SP

  • Reply

INSERT INTO tbl2 (fname) SELECT fname FROM tbl1 WHERE ref#='123'Btw, the # sign isn't really good to be used as a column name. I have seen several threads here, where this caused more or less severe problems.

You rated this post out of 5. Change rating

2004-12-16

Technical Article

RE: Generating Unique ID on Server

  • Reply

In 7 years, this never deadlocked and it always retrieves a unique next number.  This is just an exerpt of a function, but it finds a unique @iBatch (integer batch sequence #) in a table called batch.  The key technique is to get the next iBatch:    SELECT @iBatch = 1 +      COALESCE((SELECT MAX(iBatch) FROM […]

You rated this post out of 5. Change rating

2004-12-08

Technical Article

RE: Populating @Variables dynamically

  • Reply

Farrel,No worries mate. Don't forget though: If you declare the variable within an sql string and exec it, it will generate a new spid and the variable will only have the lifespan of the new spid. It won't be useable anywhere else in your sproc - thats when you get the variable declaration error messages. […]

You rated this post out of 5. Change rating

2004-11-10

Technical Article

RE: "library not registered"

  • Reply

Sorry, I didn't go back and look at the post, I had put servername and instancename in between greaterthan and lessthan signs, making it look HTML code... try: Servername\Instancename (local) will try and connect on the local system against a default instance (no instance name). If you have a named instance, you need to specify […]

You rated this post out of 5. Change rating

2004-08-26

Technical Article

RE: Monitoring SQL Server Cluster

  • Reply

Yep, its possible to write an application which runs on the cluster and writes cluster events to a port. Check out the following page on MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mscs/mscs/notification_port_example.asp

You rated this post out of 5. Change rating

2004-08-13

Technical Article

RE: Question of the Day for 27 Jul 2004

  • Reply

Another question seems to have the incorrect answer checked as the correct answer.The correct answer of those listed is:"SQL Statement A will return its recordset sorted by myiT.Unique_ID descending , SQL Statement B:- will return it recordset sorted by the Alias 'Unique_ID' descending."I created 2 tables and tried the code out. I changed the values […]

2004-07-27

Blogs

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...

Snowflake + Azure blob

By

Let’s go back to data platforms today and I want to talk about a...

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