Viewing 15 posts - 31 through 45 (of 87 total)
there is no requirement that the insert statement have an explicit column list, although its obviously best practice. as long as the datatypes are compatible and there is not...
July 23, 2009 at 8:58 am
also from BOL (re: Inserts):
If a column is not in column_list, the SQL Server 2005 Database Engine must be able to provide a value based on the definition of the...
July 23, 2009 at 8:33 am
from BOL (about Computed Columns):
A computed column cannot be the target of an INSERT or UPDATE statement.
July 23, 2009 at 8:10 am
You could also use the Fuzzy Grouping Transformation in Integration Services for this.
July 21, 2009 at 4:31 pm
is this what you're after:
DROP TABLE [#TEST]
CREATE TABLE #TEST ([UId] int, PId int, PV varchar(10) )
INSERT INTO #TEST VALUES(33138, 9, 'True')
INSERT INTO #TEST VALUES(33138, 8, 'False')
INSERT INTO #TEST VALUES(33138, 5,...
July 16, 2009 at 3:48 pm
might speed up a little to parameterize and then toggle between the SELECTs for review and then UPDATE:
DECLARE@old VARCHAR(20)
, @new VARCHAR(20)
SET@old = 'Roda'
SET@new = 'Road'
UPDATEAddressSETStreetName =...
June 30, 2009 at 10:22 am
Its the Name of the task and its description. By default, these are both "Send Mail Task" until you change thru edit (or expression). Not real useful to...
June 30, 2009 at 8:01 am
Could you add space on either side of the string you are replacing? That would eliminate most false catches.
UPDATE Address
SET StreetName = REPLACE(StreetName,' Roda ',' Road ')
WHERE StreetName LIKE...
June 29, 2009 at 11:01 am
take a look at this thread and see if that helps: http://www.sqlservercentral.com/Forums/Topic577774-148-1.aspx
June 23, 2009 at 12:55 pm
here is a really good demo.
http://www.jumpstarttv.com/using-the-file-system-task-in-ssis_508.aspx
June 5, 2009 at 10:36 am
Yes, with an expression. I've attached an image to demonstrate.
June 3, 2009 at 11:40 am
Try the system variable @[System::SourceName]
June 3, 2009 at 8:43 am
You can do it using a ForEach Loop Container using a File enumerator. Your File System Task would be inside the ForEach Loop. No scripting necessary, just some...
June 2, 2009 at 3:18 pm
I did a little test yesterday afternoon against a query with 2 varchar(5) columns, ~250k rows (109 - 123 distinct records*). I built 2 Data Flows, with one Data...
May 29, 2009 at 7:59 am
My two cents would be to use the TSQL. I've never tested the ssis Aggregate transform, but would be surprised if it outperformed sql server (of course it probably...
May 28, 2009 at 1:45 pm
Viewing 15 posts - 31 through 45 (of 87 total)