Viewing 15 posts - 91 through 105 (of 116 total)
Fixed length is a pain to work with in DTS. Easier is to import the file into an import buffer table having a single column. Then use a user defined function,...
December 7, 2005 at 10:53 am
If you want to get more functionality in your programming, take a look at books-online first. For example: why miss out on something like "IF UPDATE"...
IF UPDATE (column)
BEGIN
INSERT INTO audit_table(column)
SELECT...
December 6, 2005 at 1:24 pm
I have a bunch of functions for string cleaning. As far as execution plans go, is it more optimal to use different functions?
December 6, 2005 at 1:18 pm
Mapping column to column directly in the Transformations tab is dangerous because of a bug in DTS designer. Occasionally, upon opening a package, the mapping will reverse: A-Z, ..., Z-A....
December 1, 2005 at 11:46 am
If milliseconds are important than you need style 14/114:
CONVERT( VARCHAR, @dt1, 114 ) >= CONVERT( VARCHAR, @dt2, 114 )
December 1, 2005 at 11:35 am
I don't know what kind of output you get, but you can:
In DTS designer, right click in the open field, choose package properties, click the logging tab, and go from...
November 30, 2005 at 9:22 am
Yes, but if you rely on people to remember to update the update column, it won't be updated every time. An update trigger is the best solution.
November 30, 2005 at 9:18 am
DELETE
A
FROM
tableA AS A
INNER JOIN
tableA AS B
ON
A.ID > B.ID
AND
A.column_of_interest = B.column_of_interest
November 30, 2005 at 9:14 am
You can log each step in a scheduled job.
Open the job, open a step for editing, click the advanced tab, choose an output file location in the "Transact-SQL Script" section, choose...
November 30, 2005 at 8:58 am
Yes, but don't you have to do a disconnected edit in DTS to handle columns larger than 255?
November 29, 2005 at 10:50 am
> Not always! update on blob fields (text, ntext or image) will not fire triggers (This is applicable to both
> instead of and after triggers)
That's...
November 29, 2005 at 10:44 am
Why switch between Simple and Full? If you have no need for point-in-time recovery, then you should maintain your database in Simple mode. If you do have recovery needs, then...
November 24, 2005 at 12:28 pm
I recommend learning about good database design before doing any more creating or modifying on your server.
Books online (BOL) has some introductory information. Press F1 in Enterprise Manager or Query...
November 24, 2005 at 12:20 pm
Cursors add a lot of overhead. I've always been able to solve problems using temp tables.
DECLARE @COUNTER INT
DECLARE @SIZE INT
DECLARE @ERROR INT
DECLARE @RECORD_ID INT
DECLARE @SOME_COLUMN VARCHAR(128)
DECLARE @TEMP_TABLE TABLE(
RECORD_ID INT
,SOME_COLUMN VARCHAR(128)
,LOOP_ID...
November 23, 2005 at 12:18 pm
Check to see if they dropped any indexes.
November 22, 2005 at 10:10 am
Viewing 15 posts - 91 through 105 (of 116 total)