Viewing 15 posts - 1 through 15 (of 130 total)
I think the retain NULLs option is to prevent column defaults being applied on the destination table during import, not for converting empty strings to dates within the pipeline.
October 7, 2011 at 8:10 am
Here's a similar one I use which uses a neat trick (credit to Adam Machanic) that returns the statement as xml so it can be clicked and opened in a...
June 26, 2008 at 2:45 am
I've been through a similar evaluation process on a recent project and I think it's important to employ each of the tools/technologies you use in the role for which they...
January 15, 2008 at 2:16 am
You can expand the example to add another level grouping in the same way the level2 grouping is created. If you're still struggling by all means post the table...
January 3, 2008 at 10:48 am
James,
I suspect you're right that it requires the use of XML EXPLICIT for SQL 2000. Can you post a sample table containing the data that will be used to...
January 3, 2008 at 1:05 am
Although it was originally intended for use in replication the tablediff utility is specifically designed for the problem you're trying to solve. Easy to use, very quick and generates...
December 21, 2007 at 3:38 am
Great idea for a series of articles, and a good teaser to set them up.
November 20, 2007 at 12:36 am
I must admit I love these "tests" for new starters. A place I used to work used a couple which had us in stitches for a while.
Firstly...
October 31, 2007 at 2:22 am
Check out the custom DateTime format strings if you want to shorten the code e.g. DateTime.Now.ToString("yyyyMMddhhmmss")
October 11, 2007 at 1:14 am
A possible alternative is
SELECTQuestionID,
COUNT(*) AS CountRows,
(CAST(COUNT(*) AS float) / (SELECT COUNT(*) FROM dbo.Answers)) * 100 AS PercentRows
FROMdbo.Answers
GROUP BY
QuestionID
October 11, 2007 at 1:11 am
I've come across this one quite a bit at one contract I had as a third-party vendor insisted that the performance of a binary collation was much quicker than a...
October 11, 2007 at 12:29 am
Nice article. I've written something similar as a windows script file. One thing I noticed though was that the layout of the package is not preserved when using...
October 9, 2007 at 12:40 am
I'm not sure whether you can do it with the new 2005 XML PATH/ROOT features but it's certainly possible using the more complicated (but more powerful) XML EXPLICIT as follows:
SELECT...
October 4, 2007 at 1:11 am
October 3, 2007 at 2:24 am
Tarun,
Creating a windows service in .Net is very straight forward. Simply use a FileSystemWatcher to monitor a particular directory and code similar to that at the link above to...
September 21, 2007 at 3:07 am
Viewing 15 posts - 1 through 15 (of 130 total)