Viewing 15 posts - 3,556 through 3,570 (of 5,590 total)
After playing around with this a bit, yes it needs to be done separately. It can be combined on the CREATE TABLE, but not on the ALTER TABLE.
So:
ALTER TABLE systeem...
August 27, 2010 at 9:04 am
You've actually got two things going on:
1. The selection of the records to insert, and
2. The actual insertion of records into the table.
As everyone else has already covered, the use...
August 27, 2010 at 8:53 am
MissyDaisy (8/27/2010)
August 27, 2010 at 7:57 am
take out this line of code...
Order By Substring(CONVERT(varchar(19),RegisterTimestamp,120),1,7) ,Sorce
August 27, 2010 at 7:54 am
Just one point of clarification: the issue isn't with DTS/SSIS. It's with the Jet driver, used to access Excel spreadsheets by those programs. The same problem will show up when...
August 27, 2010 at 7:52 am
Using OpenRowset/OpenDatasource, it can't be done.
However, you can accomplish the formatting by:
1. Use the Export wizard.
2. Use a SSIS package.
3. Use the sp_OA procedures to perform OLE Automation. This article...
August 27, 2010 at 7:48 am
This is getting into the realm where I'd have to start using Google/Bing to find the answer... so I'll leave that exercise to you. I know I've seen it out...
August 27, 2010 at 7:45 am
I think we can get around the parameter sniffing and make this work properly.
First, change this code:
Set @Today = GETDATE();
set @Today = @Today - 1
Set @Year = (select YR_NUMBER from...
August 27, 2010 at 7:39 am
I think the default needs parenthesis around the value:
DEFAULT (0), not DEFAULT 0
August 27, 2010 at 7:30 am
r.vanlaake-1086273 (8/27/2010)
I need a script to change a TINYINT (not null default 0) TO DECIMAL(6,3).
These are my results:
ALTER TABLE systeem ALTER COLUMN aantal_dagen_vooruit_in_te_plannen DECIMAL(6,3) NOT NULL DEFAULT 0
Incorrect syntax...
August 27, 2010 at 6:35 am
Start Menu | All Programs | Microsoft SQL Server 2005 | SQL Server Business Intelligence Development Studio.
Start a new reporting project, and you're in.
August 27, 2010 at 4:57 am
Jeff Moden (8/26/2010)
August 27, 2010 at 3:19 am
Set up a named range in the second excel spreadsheet. Insert into the named range, not the tab (tabs end in $; named ranges don't).
Edit: you can also specify the...
August 26, 2010 at 8:59 pm
Sergiy (8/26/2010)
18271999 2010-08-03 07:49:00.000
18271988 2010-08-03 07:51:00.000
And what should happen after 08:05:00.000?
Should the next record be after 08:10:00.000?
Or should it be the first record of the next...
August 26, 2010 at 8:30 pm
Viewing 15 posts - 3,556 through 3,570 (of 5,590 total)