Viewing 15 posts - 151 through 165 (of 428 total)
Some DDL and a test set. Alas, I lost some valuable time writing this while you could have easily provided it yourself 🙁 -see the posting etiquette link in...
March 7, 2012 at 5:42 am
Recurs1on (3/6/2012)
WITH SALES
AS (
SELECT
...
March 7, 2012 at 1:56 am
Yeez, it's a game. And the only thing you can win is 'points'...
Get a life guys.
March 7, 2012 at 1:10 am
What differences have you found so far? Try and explain in your own words and you'll either get applause or explanations where you've gone wrong.
March 6, 2012 at 5:01 am
Gianluca Sartori (3/6/2012)
The important thing is that the datetime column stores the right value.To change the way it displays on the report, try changing the report field.
i.e. assuming the name...
March 6, 2012 at 4:49 am
As usual when service broker is involved the code is bit lengthy, but it is a good question.
In my experience errors like these are less likely if you get used...
March 6, 2012 at 3:59 am
And again I learned something. I've never had to use dbmail so far. So I googled and quickly found the right answer 😉
Thanks
March 6, 2012 at 3:25 am
I too was looking for the catch for a while and then decided there was none. Nice, basic question. Thanks
March 5, 2012 at 9:59 pm
Have a look at openrowset(). This can be used to read from a file on the server's file system (if the admin permits it. If not you'll get a lot...
March 5, 2012 at 7:51 am
Now that you've explained that this is for study purposes, we'll be able to give you the information on a level that you will be able to understand.
You'll have to...
March 5, 2012 at 1:52 am
ladyblue1075 (3/4/2012)
manukumar (3/4/2012)
March 5, 2012 at 1:02 am
Your bulk insert doesn't need to go into the production database directly. i.e. You can ask your admin to create a separate 'staging' database on the same server as your...
March 4, 2012 at 2:51 pm
ColdCoffee (3/2/2012)
SELECT OutTab.TABLE_NAME,
STUFF ( (
SELECT ', '+InTab.COLUMN_NAME
...
March 4, 2012 at 12:57 am
Best use a 'calendar table'; A table that has a row for each period that you want to group by on. Such tables are very handy in many queries, so...
March 4, 2012 at 12:24 am
Viewing 15 posts - 151 through 165 (of 428 total)