Viewing 15 posts - 5,686 through 5,700 (of 14,953 total)
Save them to the file system, then import them into the new SQL instance.
December 14, 2010 at 7:16 am
You'll need to move the subquery into the From clause as a Cross Apply or a derived table that you can join to. That will mean the data from...
December 14, 2010 at 7:11 am
It looks like you're doing this in a more complicated fashion than you need to.
The easiest way to get missing ID numbers is to compare the IDs to a Numbers...
December 14, 2010 at 7:09 am
John Mitchell-245523 (12/14/2010)
December 14, 2010 at 7:01 am
This has all the data on formatting dates in T-SQL: http://msdn.microsoft.com/en-us/library/ms187928.aspx
Honestly, though, you should be formatting dates in the presentation layer, not in the database or data access layer. ...
December 14, 2010 at 6:59 am
Nested outer joins can do weird things like that. Glad you got something working.
December 14, 2010 at 6:54 am
GilaMonster (12/13/2010)
Use the one most suited to what you're trying to do. You don't get prizes for the fanciest, most complex way of writing code.
If you're trying to round up...
December 14, 2010 at 6:51 am
Craig Farrell (12/13/2010)
GSquared (12/13/2010)
You won't be able to use a checksum on text.
Hmm. Guess I shoulda double checked the older format. It will work for VARCHAR(MAX), however. ...
December 14, 2010 at 6:41 am
Are you familiar with using Round() and adding .5 to the value?
DECLARE @Number DECIMAL(9, 2) ;
SELECT
@Number = 12300 ;
SELECT
@Number AS Original,
...
December 13, 2010 at 1:44 pm
Hadn't thought of that, with regards to Access doing that. Yeah, that makes sense.
December 13, 2010 at 12:58 pm
It's what ceiling is for. If you don't want to use it, you'll need to build a version of it. That won't be hard to do if you...
December 13, 2010 at 12:50 pm
Create a Calendar table, or use a Numbers/Tally table (physical or virtual).
It'll look sort of like the below.
DECLARE @StartDate DATETIME;
SELECT @StartDate = '12/1/10';
;WITH
Numbers (Number) AS
(SELECT TOP 32 ROW_NUMBER() OVER (ORDER...
December 13, 2010 at 11:28 am
What edition of SQL Server are you running it from?
December 13, 2010 at 11:17 am
Have you checked the Windows server logs for anything odd during the backup?
December 13, 2010 at 11:15 am
Viewing 15 posts - 5,686 through 5,700 (of 14,953 total)