merge

Technical Article

RE: SQL/Active Directory issue???

  • Reply

Maybe this would work: sp_grantlogin [@loginame =] 'login' sp_grantlogin sp_revokelogin Note that the SQL security account procedures and the NT security account procedures differ. If you got a snapshot of all of the logins/role membership/permissions for the NT accounts, and their NT account name has not changed, then you could scan through them and use […]

You rated this post out of 5. Change rating

2003-12-01

Technical Article

RE: UPDATETEXT for multiple rows

  • Reply

quote: can't use cursor because can't declare variable as text If the table has a PK then you could retrieve the PKs once and use a cursor to loop thru them and then action the select (using the PK instead of patindex) and updatetext.

You rated this post out of 5. Change rating

2003-11-27

1 reads

Technical Article

RE: QOD 8/29

  • Reply

The proposed answer is the best choice. It does disconnect all users connected to the database which is being ALTERed. However, the wording would be more accurate, if it stated ' everyone connected to the database being altered (NOT CONNECTED TO THE SERVER)...' IS THIS ADDITIONAL WORDING NECESSARY???

You rated this post out of 5. Change rating

2003-09-03

2 reads

Technical Article

RE: Query to get first number

  • Reply

Try this... SELECT ISNULL(min(BudgetId), ISNULL((SELECT max(BudgetId) + 2 FROM tblBudgetYear), 2) - 1 FROM tblBudgetYear t1 WHERE NOT EXISTS (SELECT 1 FROM tblBudgetYear t2 WHERE t2.BudgetId = t1.BudgetId - 1) AND t1.BudgetId > 1

You rated this post out of 5. Change rating

2003-08-29

1 reads

Technical Article

RE: Optimizing SQL 2000

  • Reply

I want you to see this solution, may be it help you. here is the solution of the Hang Problem (ODBC Timeout) between any program and SQL server 2000 or 7 : When you want a report which based on complicated queries joined from several tables, These tables are updated frequently, then you lock these […]

2003-07-28

Blogs

A New Word: Incidental Contact High

By

incidental contact high – n. an innocuous touch by someone just doing their job...

Take the 2025 State of Database Landscape Survey

By

The survey is out now and you can share your experiences for a chance...

Developer Q&A: John Kostak of Web Dev USA

By

"We can really be dangerous if we want, without being too afraid of it."

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