Viewing 15 posts - 4,876 through 4,890 (of 6,486 total)
If you're just looking for the literal PC, then your expression just needs to be "PC" (with the quotes included). SSIS uses double-quotes, so using the snigle-quotes will get you...
February 5, 2008 at 3:52 pm
Jeff Moden (2/5/2008)
February 5, 2008 at 3:45 pm
then try the COMMIT? you should at least TRY to commit said transactions.
you'd have to run it twice )once per transaction still open. The second one might take...
February 5, 2008 at 3:40 pm
Try checking the following:
- under Control Panel, Admin tools, services - double-check to see what the service account is for SQL Agent. That account needs to be able...
February 5, 2008 at 3:00 pm
Assuming you're using an identity field as your PK, use
DBCC CHECKIDENT('mytable',RESEED,1)
will reset this back to 1
Note that you only need to do that if you use DELETE from mytable. ...
February 5, 2008 at 2:30 pm
Michael Valentine Jones (2/5/2008)
iceheartjade (2/5/2008)
Hi, all...no bad value will be insert into the tables...
I guess your organization, unlike where I work, has developers that never make mistakes.
Even if they're perfect...
February 5, 2008 at 2:18 pm
antonio.collins (2/5/2008)
February 5, 2008 at 2:08 pm
The big question is - how would you correlate the rows without SSIS? How would you relate data from today to data from yesterday, row-by row? Something has...
February 5, 2008 at 1:48 pm
Think of using the tally table has merit, but I'm thinking your using that hammer on the wrong kind of nail.
How about populating a temp table with a minute by...
February 5, 2008 at 1:30 pm
Fully agree with GSquared. The correlated sub-query won't scale well, so if your data gets big it will start to choke on performance.
That being said - you want to...
February 5, 2008 at 1:07 pm
That's certainly one way to do it! Depending on what you're doing - might also be a lookup (for data from another table) or data conversion (string-->numeric for example)
February 5, 2008 at 12:54 pm
you can get SSMS to script them all by using the Generate scripts option under "all tasks". Simply right-click on the DB name to get started.
February 5, 2008 at 12:42 pm
I usually am "dipped" in it by this time of day....and it ain't smelling pretty today....
Glad that helps!
One warning though - it seems to do some interesting things...
February 5, 2008 at 12:25 pm
If the family+depcode generates duplicates, then no- PIVOT will aggregate them out. You'd also have to concatenate the first and last names together, since PIVot will only do one...
February 5, 2008 at 12:21 pm
CROSS or OUTER APPLY with TVF's is basically a correlated sub-query in disguise. So - not incredibly bad if the sets are small, but still not as good as...
February 5, 2008 at 12:02 pm
Viewing 15 posts - 4,876 through 4,890 (of 6,486 total)