Viewing 15 posts - 12,001 through 12,015 (of 13,876 total)
This is looking like a challenge. Other than using a chunk of procedural code to read through the data line by line (in order) and add a 'Group Number' field,...
July 13, 2010 at 10:54 am
Raunak Jhawar (7/13/2010)
Hi Ria,This is simple. You have to use SQL Windowing functions such as ROW_NUMBER,RANK,DENSE_RANK with the OVER CLAUSE using Partition...:cool::cool::cool:
Hope this helps!!!
Please present your simple solution.
July 13, 2010 at 10:46 am
You'll have a problem with September if you use that code verbatim!
<= 9 works better 🙂
July 13, 2010 at 7:07 am
Ed Zann (7/12/2010)
July 12, 2010 at 10:38 am
There is a much simpler way: use the FOREACH container to loop round all files in a folder and (if required) its sub-folders.
July 12, 2010 at 5:59 am
This is an SSIS forum. I suggest that you raise this in the T-SQL forum here.
July 9, 2010 at 3:15 am
Yes. If there are hundreds of thousands of records to be deleted, I would recommend that you do the delete in batches to avoid huge transactions grinding your system to...
July 8, 2010 at 10:50 am
Where is your source data coming from? A DELETE query (or series of queries, if lots of rows are to be deleted) would be faster.
July 8, 2010 at 10:28 am
Then you should forget the Transfer SQL Server Objects task. Look instead at the Data Flow task where (at its simplest) you define a source, a destination and a mapping...
July 7, 2010 at 10:56 am
Really - OK, use a Script Task.
Here's some code:
Public Sub Main()
'
' Add your code here
'
...
July 7, 2010 at 10:50 am
Is your requirement to move data or to move schema info (or both)?
July 7, 2010 at 10:24 am
Why not just use a straight UNC path?
July 7, 2010 at 10:22 am
Viewing 15 posts - 12,001 through 12,015 (of 13,876 total)