Viewing 15 posts - 55,336 through 55,350 (of 59,072 total)
If you want to copy an entire database with all schema, keys, and data,... why not just do a restore from a backup??? ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2007 at 9:55 pm
>>Now, what I need is the missing ranges.
How do you figure that November 1 through 30 of 2006 is a missing date when it clearly appears in both tables for the...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2007 at 9:51 pm
>>I need a pure sql code to complete this issue
Why?
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2007 at 9:44 pm
A count of rows from all the tables in a database for the year 1995...
Why?
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2007 at 9:39 pm
Where are the tabs located in the text file?
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2007 at 9:33 pm
!= is what most GUI folks write and it's a bit more difficult to read than <>. Other than that, no difference.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2007 at 9:31 pm
What is the datatype for startdate and starttime? ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2007 at 9:26 pm
Nope... don't need the conversion to varchar for date or time.
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2007 at 9:24 pm
Since he's converting to DateTime, I'd suggest doing neither. ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
August 17, 2007 at 9:23 pm
| Incidentally, if you're using SQL 2005, you can jump straight to the final result fairly elegantly |
Glad to see...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 15, 2007 at 10:49 pm
Heh... for the same reason most British don't measure heat in British Thermal Units? ![]()
--Jeff Moden
Change is inevitable... Change for the better is not.
August 15, 2007 at 10:43 pm
There is nothing in the code that needs dynamic SQL. Rewrite the code to take variables. Normally, the only time you need dynamic SQL is for variable table or column...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 15, 2007 at 10:09 pm
Not sure what they call it in 2k5, but have you done a search on Bulk Copy or BCP in Books Online?
--Jeff Moden
Change is inevitable... Change for the better is not.
August 15, 2007 at 10:04 pm
David is correct...
First, move the SET NOCOUNT ON statement to before the IF. There's a lot more at stake than just performance if a GUI is involved (pevents false...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 15, 2007 at 10:01 pm
They left off one very important disaster... and that's what happens when you have normal, healthy database growth and the code written against the database reaches a "tipping point". Lots...
--Jeff Moden
Change is inevitable... Change for the better is not.
August 15, 2007 at 9:56 pm
Viewing 15 posts - 55,336 through 55,350 (of 59,072 total)