automation

Technical Article

RE: How to run a stored procedure as other user?

  • Reply

SETUSER can be used by members of the sysadmin fixed server role to adopt the identity of another user in order to test the permissions of the other user. Only use SETUSER with SQL Server users. It is not supported with Windows users. When SETUSER has been used to assume the identity of another user, […]

You rated this post out of 5. Change rating

2003-05-13

Technical Article

RE: Use Results from a Cross Join for dynamic SQL

  • Reply

Ok, had to use a cursor, try this. create table #tblResponses (Resp int, ProdName char(1), Value varchar(3)) insert into #tblResponses values (1, 'A', 'Yes') insert into #tblResponses values (1, 'B', 'No') insert into #tblResponses values (1, 'C', 'Yes') insert into #tblResponses values (1, 'D', 'Yes') insert into #tblResponses values (2, 'A', 'Yes') insert into #tblResponses […]

You rated this post out of 5. Change rating

2003-05-09

1 reads

Technical Article

RE: DB Timeout /Losing Records

  • Reply

Also, have you checked the load on the server to see how bad it may be. If you have a bottlenecked system you may see timeouts on any complicate query and then if gets worse all queries will timeout. Look at memroy, swap file, Hard Drive IO and CPU utilization.

You rated this post out of 5. Change rating

2003-05-09

1 reads

Technical Article

RE: Use Results from a Cross Join for dynamic SQL

  • Reply

OK, here's my idea. I am still using a cursor to define the product combos. However, once defined, the combo list only needs to be changed if products are added or dropped. First, assume the products are in #tmp_prod, and that the prod column will identify them in the response table. ---------- create table #prod_combo […]

You rated this post out of 5. Change rating

2003-05-07

1 reads

Technical Article

RE: Windows XP

  • Reply

1) If this was an OEM copy then technically NO as it is only supposed to go with the original equipment (there are a lot of ins and outs to this that can bite you in a production environment). 2) Yes, does require activation with Microsoft. But if you mean does XP make it's presence […]

You rated this post out of 5. Change rating

2002-04-17

Blogs

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

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

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