PIVOT

Technical Article

User Administration

  • Topic

I am the lead developer working on an intranet project and have run into a problem controlling changes to our development database. I'm not much of a DBA but here's what I need to do: I need a way to allow users to create tables in a database but not alter ones they have not […]

You rated this post out of 5. Change rating

2004-02-12

Technical Article

Attach databases without log files

  • Topic

Hi all. I have some databases that I can sometimes attach to a new SQL server (2kE) without the log file, and other times I can't. It was my understanding that it's not possible to attach a database without both the MDF and LDF, but it appears I can do so, usually after a backup […]

You rated this post out of 5. Change rating

2004-01-13

1 reads

Technical Article

no parallelism for parallel users?

  • Topic

Dear all,now we finally got the 2-Xeon Hyperthreading Server, but SQL Server 2000 does not use its processors! Apart from parallel execution plans for a single query, which may be avoided by the optimizer for good reason, I at least expected the Server to run two parallel queries for two concurrently working users.The users call […]

2004-01-12

3 reads

Technical Article

RE: Any better Ideas that may speed this procedure up?

  • Reply

Try this SELECT T1.Param_ID, T1.Value, MAX(T1.[Date]) as DataDate, T2.DefaultOrder, T2.Order1, T2.Order2, T2.Order3, T3.DataType_ID AS Type FROM dbo.tblValues AS T1 INNER JOIN dbo.tblParam AS T2 ON T2.Param_ID = T1.Param_ID INNER JOIN dbo.tblSetupKey AS T3 ON T3.Key_ID = T1.Key_ID INNER JOIN dbo.tblKey AS T4 ON T4.ID2 = T1.KEY_ID AND ID1 = @ID1 AND ID2 = @ID2 AND […]

You rated this post out of 5. Change rating

2003-12-02

1 reads

Technical Article

RE: Locking problem

  • Reply

Certainly sounds like you have you transaction isolation level set to repeatable read or serializable, and a transaction isn't being closed - so that the 'select' statement is holding its lock(s) indefinitely. You can check this with DBCC USEROPTIONS - which will show you the value if it has been explicitly set. If not, SQL […]

2003-07-01

Technical Article

RE: SA password change

  • Reply

course you have to have the trace running. If you want to do this, set this up in a stored procedure, mark as a startup procedure, and then monitor and archive or delete this information over time. Probably need some weekly job to do this. Steve Jones sjones@sqlservercentral.com http://qa.sqlservercentral.com/columnists/sjones www.dkranch.net

You rated this post out of 5. Change rating

2003-06-19

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