Viewing 15 posts - 1,636 through 1,650 (of 1,988 total)
20000 records isn't all that much. It should be relatively straight forward to just grab the ROW_ID's of all the relavant entitities from your current production environment then find...
July 16, 2015 at 10:57 am
TheSQLGuru (7/16/2015)
ZZartin (7/16/2015)
July 16, 2015 at 8:43 am
Hmm... in that specific case it sounds like you want to run some kind of batch job to update a field which probably would be better done at the DB...
July 16, 2015 at 7:56 am
Ah yes I was looking at the number on the end of the strings 😛 This should do it.
WITH TEMP_CTE_ONE AS(
SELECT TEST_ONE.COL_ONE TEST_ONE_COL_ONE, TEST_ONE.COL_TWO TEST_ONE_COL_TWO, TEST_TWO.COL_ONE TEST_TWO_COL_ONE, TEST_TWO.COL_TWO TEST_TWO_COL_TWO...
July 15, 2015 at 2:02 pm
If needed change the select to 😀
SELECT CUR_COL_ONE, COL_VALUE, ROW_NUMBER() OVER(PARTITION BY PAR_COL_ONE ORDER BY CUR_COL_ONE) AS SEQ_NUMBER FROM TEMP_CTE_TWO
UNION ALL
SELECT COL_ONE, COL_TWO, 0 FROM #test WHERE COL_TWO = '@@@@@'...
July 15, 2015 at 1:07 pm
What about something like this assuming no gaps in the identity,
CREATE TABLE #test(COL_ONE int identity, COL_TWO varchar(30))
INSERT INTO #test(COL_TWO)
SELECT 'dfgdfg'
UNION ALL
SELECT 'dfghdgfh'
UNION ALL
SELECT 'dghk'
UNION ALL
SELECT 'rtyurtyurtyu'
UNION ALL
SELECT '@@@@@'
UNION ALL
SELECT 'dsdfgsd'
UNION...
July 15, 2015 at 12:41 pm
whereisSQL? (7/15/2015)
Ed Wagner (7/15/2015)
djj (7/15/2015)
Ed Wagner (7/13/2015)
crookj (7/13/2015)
Ed Wagner (7/10/2015)
SQLRNNR (7/10/2015)
Eirikur Eiriksson (7/10/2015)
Revenant (7/10/2015)
SQLRNNR (7/10/2015)
DonlSimpson (7/10/2015)
Ed Wagner (7/10/2015)
SQLRNNR (7/10/2015)
Ed Wagner (7/10/2015)
Patrick StewartDempsey
Jack
Gene
Hackman
Popeye
Williams
Mork
Mindy
shazbot
Nanoo
Naboo
Anikin
Dark
lighter
July 15, 2015 at 7:59 am
David.Poole (7/15/2015)
It's great that the SQLSERVER community is like this but also a bit sad that the collaboration and helpfulness is regarded as unusual.
It is fairly depressing and it's probably...
July 15, 2015 at 7:26 am
That should be relatively simple in SSIS, run a query that generates all the copy/move commands and exports them to the batch file, then run the batch file 🙂
July 14, 2015 at 12:15 pm
It looks like it uses one optional parameter and then calls two other stored procedures for every record returned by the cursor.
SELECT TAB_ID FROM DQ_TAB WHERE ISNULL(@tableID, TAB_ID) = TAB_ID...
July 13, 2015 at 3:03 pm
Xavon (7/10/2015)
July 10, 2015 at 8:05 am
Hmm... theoretically you could try making two jobs, the first step of each job does your data load, then the next step calls the other job. That way they'll...
July 9, 2015 at 12:06 pm
Well is there a reason you need to use robocopy instead of just the standard move command?
July 8, 2015 at 8:35 am
Are your backups large enough you actually need to use a non standard windows command to move them?
July 8, 2015 at 8:18 am
Well in all fairness any flatfile format that isn't properly generated on the source side is going to break your dataflow. As for why csv are more popular it's...
July 7, 2015 at 9:03 am
Viewing 15 posts - 1,636 through 1,650 (of 1,988 total)