database security

Technical Article

RE: Adding space to middle of string

  • Reply

This is not the prettiest code I've ever written but it works... CREATE TABLE [Numbers] ( [PkNumber] [int] IDENTITY (1, 1) NOT NULL , CONSTRAINT [Pk_Number] PRIMARY KEY CLUSTERED ( [PkNumber] ) ON [PRIMARY] ) ON [PRIMARY] GO Declare @i as int set @i = 0 while @i < 8000 begin Insert into dbo.Numbers Default […]

You rated this post out of 5. Change rating

2005-02-09

Technical Article

RE: UPDATE Query problem

  • Reply

this is for a text field. the 3rd argument needs to represent a multiple length string and up untill this point I thought % would do this. example: SUBSTRING(FIELD,3,%) 'should return the following: CR20AB = 20AB CR509FDS = 509FDS

You rated this post out of 5. Change rating

2003-07-28

Technical Article

RE: Remote login and password in linked servers

  • Reply

If you are using a remote login in a linked server, that login does not need to be transferred to your new server, just create the Linked Server with the same details as the old server. I don't remember if it is possible to script the Linked Server details, try searching this forum or the […]

You rated this post out of 5. Change rating

2003-07-23

1 reads

Technical Article

RE: Replacing BCP with SQLBulkLoad

  • Reply

quote: I think the BULK INSERT statement is a good substitute to bcp. From a performance perspective, it should be slightly faster. BULK INSERT runs in the memory context of SQL Server whereas bcp does not. Both of these would be faster than DTS and the described method here. K. Brian Kelley http://www.truthsolutions.com/ Author: Start […]

You rated this post out of 5. Change rating

2003-07-21

Blogs

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

Snowflake + Azure blob

By

Let’s go back to data platforms today and I want to talk about a...

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