Viewing 15 posts - 8,476 through 8,490 (of 13,882 total)
ankithimmatlalshah (4/21/2015)
Thank you for the quick response.
For first point, I will re-confirm with customer that can we create the SQL script task that will first create the all tables...
April 21, 2015 at 1:58 am
There are a lot of questions here and several of them required detailed answers in their own right.
But for me, one thing really stands out. Best practice is not to...
April 21, 2015 at 12:43 am
pharmkittie (4/20/2015)
April 20, 2015 at 11:49 am
OK, I'll ask the obvious question. Have you asked Cozyroc, given that it's their product?
-Edit, fixed typo.
April 20, 2015 at 11:28 am
The way I would do it is closely related to Steve's suggestion:
1) Get the database code scripted out using VS or Redgate SQL Compare.
2) Get it into a VCS.
3) Devise...
April 20, 2015 at 10:07 am
mxy (4/20/2015)
April 20, 2015 at 8:54 am
Rather than the FMTONLY way, you could try this method instead. Maybe it will help:
http://stackoverflow.com/questions/1579476/using-temp-tables-in-ssis
April 20, 2015 at 8:51 am
ahammer 40362 (4/20/2015)
April 20, 2015 at 8:22 am
spaghettidba (4/20/2015)
No values will be in the column, since it's being added by the ALTER TABLE command. What do you mean exactly?
Oops. It's Monday morning and I've clearly not had...
April 20, 2015 at 3:12 am
spaghettidba (4/20/2015)
Use "WITH VALUES" in your default specification:
alter table test add column2 int default(0) WITH VALUES
Would this overwrite existing non-null values, as that appears to be the requirement?
April 20, 2015 at 2:15 am
ankithimmatlalshah (4/20/2015)
Thank you for the response.
The data type for each column of all 50 files will always be varchar (255).
The requirement is like the client would like...
April 20, 2015 at 1:46 am
vignesh.ms (4/20/2015)
I want to set a default value to a column while adding it.
Create table test(id int )
insert into Test values(123)
alter table test add column2 int default(0)...
April 20, 2015 at 1:19 am
kapil_kk (4/20/2015)
I am getting error when I passed multiplt rows in less than condition:
create table #t1
( ID int)
INSERT INTO #t1
SELECT 1 UNION ALL SELECT 5 UNION ALL SELECT...
April 20, 2015 at 12:16 am
There is going to be no decent way of auto-creating the tables. A major reason for this is that columns in CSV files have no data types. Unless you interrogate...
April 19, 2015 at 3:07 am
Viewing 15 posts - 8,476 through 8,490 (of 13,882 total)