security

Technical Article

RE: Network error

  • Reply

quote: What are you doing that requires network access? K. Brian Kelley, GSEC Brian, thank you for the good question. Some of jobs are running very simple queries on local SQL Server. But I would like to beleive that I found the trace. Some of the databases have owner different Active directory and local server […]

You rated this post out of 5. Change rating

2003-12-30

Technical Article

RE: qod 12/29

  • Reply

Thanks for the input. I am learning much from this forum. I didn't consider that it might work if varchar, since most of the tables I work with use char() fields. I have on more than one occasion tested an update query similar to what is being attempted here to find that if I had […]

You rated this post out of 5. Change rating

2003-12-30

1 reads

Technical Article

RE: Generate Sequence Number Safely

  • Reply

quote: jxflagg, could you show me how to use temp table and update lock? Not a temp table, a real table. Like this: CREATE TABLE [Exp_UniqueKeys] ( [Table_Name] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL , [last_key] [int] NOT NULL CONSTRAINT [DF__Exp_Uniqu__last___515009E6] DEFAULT (1), CONSTRAINT [PK_UniqueKeys] PRIMARY KEY NONCLUSTERED ( [Table_Name] ) WITH FILLFACTOR = 90 […]

You rated this post out of 5. Change rating

2003-12-30

Technical Article

RE: Free space in Data file

  • Reply

To see the log space usage you can use dbcc sqlperf (logspace) sp_spaceused reports only the data and index space usage (in the reserved, data, index and unused columns) and this is what you want I guess. Only database_size column combines the file size of the data AND the log files. Bye Gabor

You rated this post out of 5. Change rating

2003-12-30

1 reads

Technical Article

RE: Need ActiveX Script To Rename A File

  • Reply

Here is a variation of the above if you want to control the move more precisely by separating the copy and delete portions into separate ActiveX tasks. ActiveX Task 1: '********************************************************************** ' Visual Basic ActiveX Script '************************************************************************ Function Main() Orig_FileNm = "C:\SourceFile.txt" Dest_FileNm = "C:\Folder\DestinationFile.txt" Dim fso Set fso = CreateObject("Scripting.FileSystemObject") IF (fso.FileExists(Orig_FileNm)) THEN fso.CopyFile […]

2003-12-23

1 reads

Technical Article

RE: Need ActiveX Script To Rename A File

  • Reply

http://www.sqldts.com/default.aspx?292 Quoted from above article. "Move or Rename File This shows a simple file move operation, using hardcoded source and destination filenames. There is no explicit rename method in the scripting object, but a move is just the same. ' Move File Option Explicit Function Main() Dim oFSO Dim sSourceFile Dim sDestinationFile Set oFSO = […]

2003-12-22

1 reads

Technical Article

RE: Memory Management

  • Reply

There is 1 GByte of Ram and the vendor set a fixed size of 0.5 GB. There are no other applications running on the server so I would have expected that this would reduce the amount of memory available to SQL Server.

You rated this post out of 5. Change rating

2003-12-20

1 reads

Blogs

Back to Boston for SQL Saturday

By

I’m leaving again tomorrow for a trip. This time I head back to Boston...

T-SQL Tuesday #179: What’s In Your Data Detective Toolkit?

By

Most of us who work with data have, at least a few times, been...

The Future of the Social Web Is in Good Hands

By

The Social Web Foundation is aiming to grow the fediverse and make the social...

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