Viewing 15 posts - 316 through 330 (of 2,647 total)
sqlharmony (8/14/2012)
August 14, 2012 at 8:16 am
So I set up a quick test using this setup:
USE test
GO
CREATE TABLE testStringReplace (string VARCHAR(250))
INSERT INTO testStringReplace
SELECT TOP 500000 c1.name + '%' + c1.name + '%'
FROM sys.columns c1
CROSS JOIN sys.columns...
August 14, 2012 at 7:46 am
dwain.c (8/14/2012)
;WITH SampleData (string)...
August 14, 2012 at 6:10 am
TRUNCATE TABLE mytable
INSERT INTO mytable (firstcolumn, secondcolumn)
SELECT firstcolumn, secondcolumn
FROM OPENQUERY (mylinkedserver, 'SELECT firstcolumn, secondcolumn FROM linkedtable')
August 13, 2012 at 3:00 pm
roryp 96873 (8/13/2012)
Edit: Nevermind, I...
August 13, 2012 at 11:14 am
@rory: Sorry I was not clear that sometext could be anything; i.e. %sometext%, %hogwash%, '%palinka%'... So your proposed solution will not work.
@g: No need to use replace, I think your...
August 13, 2012 at 10:52 am
GSquared (8/13/2012)
August 13, 2012 at 10:41 am
marclas (8/10/2012)
thanks a lot.is it possible for procedure to have 02 output parameters?
how can i do it? and use them
You do it the same way you output 1, you just...
August 10, 2012 at 5:58 am
-on 8/1/2012 files being imported by backend job
-on 8/2/2012-8/3/2012 user make tons of change to the data via front end
-on 8/4/2012 updated files being imported
if we reverse back to 8/1/2012...
August 9, 2012 at 1:51 pm
USE [RECLACSR-DB]
GO
/****** Object: StoredProcedure [dbo].[InfoPrComplement] Script Date: 08/09/2012 15:00:58 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:<Author,,Name>
-- Create date: <Create Date,,>
-- Description:<Description,,>
-- =============================================
ALTER PROCEDURE [dbo].[InfoPrComplement]
-- Add the...
August 9, 2012 at 12:22 pm
Lynn Pettis (8/8/2012)
SQLKnowItAll (8/8/2012)
Lynn Pettis (8/8/2012)
August 8, 2012 at 9:24 am
roryp 96873 (8/8/2012)
August 8, 2012 at 9:16 am
Lynn Pettis (8/8/2012)
August 8, 2012 at 8:45 am
Nope, but BULK INSERT seems to be working now... Just can't get the row terminator right.
August 8, 2012 at 8:18 am
SA-1 (8/6/2012)
I would agree. However, the nightly process logic will dictate whether it's insert (there by generating a new id) or an update to an existing record.
Ok, but what I...
August 6, 2012 at 2:40 pm
Viewing 15 posts - 316 through 330 (of 2,647 total)