Viewing 15 posts - 2,641 through 2,655 (of 5,504 total)
K. Brian Kelley (11/4/2010)
WayneS (11/2/2010)
I thing I'm interested in - I frequently end up giving a...
November 4, 2010 at 11:33 am
Glad I could help 😀
I really appreciate your feedback!
November 3, 2010 at 2:46 pm
Errrmmm..... I'm sorry....
I left out a "tiny" piece of information: you'd need to split the data from your OLEDB source using the Multicast data flow item.
Assign a variable to the...
November 3, 2010 at 12:05 pm
I don't know of any way to assign the permissions automatically.
The way we do it:
we use the following two queries (simplified) to find the roles not assigned yet:
EXEC sp_helprotect NULL,...
November 2, 2010 at 6:57 pm
Something like this?
Or anything more specific?
We're frequently using database roles.
It makes it a lot easier if you have to assign identical permissions to more than one login.
You just change the...
November 2, 2010 at 5:03 pm
Inside your data flow task, use a RowCount task and assign the result to a variable.
In your Control Flow task, add a Send Mail task and refernce the variable you...
November 2, 2010 at 4:52 pm
... or you could use a subquery to return the ID per per zip code per customer with max(order date).
Use this subquery to join back to your original table.
November 1, 2010 at 3:46 pm
I need to talk to our db admins...
We changed to DST last weekend, too (but not at 1am, time changed from 3am to 2am on Sunday. Location: Germany).
Since we did...
November 1, 2010 at 2:06 pm
I would store that xml file in a table with an xml column and an identity col.
Add an XML index to that table. The insert should perform much better.
Another option...
November 1, 2010 at 10:01 am
How about using GROUP BY?
SELECT INV.Reference AS 'Invoice Reference'
...
November 1, 2010 at 9:54 am
Here's a slightly different approach using CROSS APPLY.
It usually is faster than the method Peso posted.
But you should try both and decide by yourself 😀
SELECT n.value('name[1]', 'VARCHAR(MAX)') AS Name,
...
November 1, 2010 at 9:46 am
Search either BOL or the web for "FOR XML EXPLICIT".
For more details we need more info. See Pesos reply.
October 31, 2010 at 4:47 am
The major question is: WHY?
If you need to deal with date values, use the DATETIME instead of a varchar. It makes it a lot easier to deal with.
But to answer...
October 30, 2010 at 2:16 pm
please provide table def and sample data as described in the first link in my signature together with your expected result based on your sample.
October 30, 2010 at 6:29 am
Is there anything specific you're looking for?
What results did a google search return?
October 30, 2010 at 6:25 am
Viewing 15 posts - 2,641 through 2,655 (of 5,504 total)