insert

Technical Article

RE: purge the tran log

  • Reply

I always use the following script and it works great. After the script finishes and the logfile is still bigger then you want, just run it again for a couple of times...  SET NOCOUNT ON    DECLARE @LogicalFileName sysname,            @MaxMinutes INT,            @NewSize INT   -- *** MAKE SURE TO CHANGE THE NEXT 4 LINES […]

You rated this post out of 5. Change rating

2004-03-24

Technical Article

RE: DTS Packages on 64 Bit

  • Reply

We were hit with the same rude surprise when we migrated.  Short version - keep DTS on 32-bit.  It might run, but you are on your own if you do - untried, unsupported, etc.We kept our old 32-bit boxes as the DTS clients, then quickly made some of our packages dynamic so logging and connections […]

You rated this post out of 5. Change rating

2004-02-26

Technical Article

RE: Transaction ID

  • Reply

I want to do some audits of changes in the database. I would like to do this using triggers, but there will be updates to several tables in one transaction and I would like to be able to group all those updates in my audit tables. quote: I don't know of any way to do […]

You rated this post out of 5. Change rating

2003-12-03

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: Setting dynamic Order By in Stored Procedure

  • Reply

Hey Mike, Make it simple, as the other person said, use constructed queries, thats basically, u will have to arrange the SQL statement with a string variable,let say @str, the have a string variable for SELECT in @str1, then FROM in @str2 and WHERE in @str3 and ORDER BY in @str4, So what u do […]

2003-08-30

Blogs

Creating a Test Pipeline in Azure DevOps using a Windows Agent

By

A customer was having some trouble getting started with Azure DevOps (AzDO) and building...

Building Studio in Public: Maintaining High Performance in Our Local Development App for Enhanced UX

By

In this post, we share the strategies and techniques we've implemented to ensure our...

Monday Monitor Tips: Changing the Fragmentation Alert

By

I had a customer that was concerned about the fragmentation alert for indexes and...

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