Click here to Skip to main content
15,890,336 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to write the multiple query in single store procedure? Pin
Ashfield21-Apr-08 4:30
Ashfield21-Apr-08 4:30 
GeneralRe: How to write the multiple query in single store procedure? Pin
bruze21-Apr-08 5:35
bruze21-Apr-08 5:35 
GeneralRe: How to write the multiple query in single store procedure? Pin
bruze21-Apr-08 5:38
bruze21-Apr-08 5:38 
GeneralRe: How to write the multiple query in single store procedure? Pin
bruze21-Apr-08 5:54
bruze21-Apr-08 5:54 
GeneralRe: How to write the multiple query in single store procedure? Pin
Ashfield21-Apr-08 19:52
Ashfield21-Apr-08 19:52 
GeneralGet all tables in sql server instance Pin
hdv21221-Apr-08 0:12
hdv21221-Apr-08 0:12 
GeneralRe: Get all tables in sql server instance Pin
Blue_Boy21-Apr-08 0:33
Blue_Boy21-Apr-08 0:33 
GeneralSSIS issue dynamic table structure Pin
Mycroft Holmes20-Apr-08 21:29
professionalMycroft Holmes20-Apr-08 21:29 
I have a nasty little job where I have a CSV table with 50+ cols which will grow (1-2 per year)

The last 44+ cols are in sets of 3, where AttibuteName changes but the date fields do not.
AttibuteName, Start_Date, End_Date

Therefore the columns are not unique and their number is not stable.

At this point SSIS seems to have a serious issue, however this could be resolved if the import method created cols based on the cols in the source file. I'm quite happy to have the labels in the 1st data row and all data to be varchar as I can deal with this in TSQL but dynamically mapping the new columns is the issue.

Ideally I would like to drop the table(no problem)
Bulk copy into a new table based on the source file
Rename the destination file (no problem)
Process the datavia stored proc (no problem)

I have written an app which does exactly what I want but it is a manual thing and I really want to automate this. Having told the boss that writing ETL apps for each module is wrong, I need to clean this one up.

TIA

Never underestimate the power of human stupidity
RAH

QuestionHow to design Table Pin
jason_mf20-Apr-08 19:34
jason_mf20-Apr-08 19:34 
Questionsqsh clear screen? Pin
devvvy20-Apr-08 17:57
devvvy20-Apr-08 17:57 
QuestionT-SQl (VS) VB Languages Pin
Feras Mazen Taleb19-Apr-08 19:22
Feras Mazen Taleb19-Apr-08 19:22 
GeneralRe: T-SQl (VS) VB Languages Pin
SimulationofSai20-Apr-08 5:28
SimulationofSai20-Apr-08 5:28 
GeneralRe: T-SQl (VS) VB Languages Pin
Christian Graus20-Apr-08 12:33
protectorChristian Graus20-Apr-08 12:33 
GeneralSQL: BETWEEN Condition by Date Pin
kimo code19-Apr-08 4:53
kimo code19-Apr-08 4:53 
GeneralRe: SQL: BETWEEN Condition by Date Pin
Blue_Boy19-Apr-08 5:09
Blue_Boy19-Apr-08 5:09 
GeneralRe: SQL: BETWEEN Condition by Date Pin
kimo code19-Apr-08 21:25
kimo code19-Apr-08 21:25 
GeneralRe: SQL: BETWEEN Condition by Date [modified] Pin
Blue_Boy19-Apr-08 22:01
Blue_Boy19-Apr-08 22:01 
GeneralRe: SQL: BETWEEN Condition by Date Pin
kimo code20-Apr-08 1:02
kimo code20-Apr-08 1:02 
GeneralRe: SQL: BETWEEN Condition by Date [modified] Pin
Blue_Boy20-Apr-08 1:29
Blue_Boy20-Apr-08 1:29 
GeneralRe: SQL: BETWEEN Condition by Date Pin
kimo code20-Apr-08 1:53
kimo code20-Apr-08 1:53 
GeneralRe: SQL: BETWEEN Condition by Date Pin
Blue_Boy20-Apr-08 2:03
Blue_Boy20-Apr-08 2:03 
GeneralRe: SQL: BETWEEN Condition by Date Pin
kimo code20-Apr-08 2:08
kimo code20-Apr-08 2:08 
GeneralRe: SQL: BETWEEN Condition by Date Pin
Blue_Boy20-Apr-08 3:25
Blue_Boy20-Apr-08 3:25 
GeneralRe: SQL: BETWEEN Condition by Date Pin
kimo code20-Apr-08 4:59
kimo code20-Apr-08 4:59 
GeneralRe: SQL: BETWEEN Condition by Date Pin
Blue_Boy20-Apr-08 8:07
Blue_Boy20-Apr-08 8:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.