Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Design help

Author  Topic 

sqldba2k6
Posting Yak Master

176 Posts

Posted - 2007-05-13 : 15:30:55
Please ignore my earlier post...

Please help me in designing the tables...
I used to get flat files which i need to import into a tables..
The flat files data which contains.....

FlatFiledata:
------------
100,1,xx,yy,,20030101
100,2,20030101
100,3,01,20030101


Below are the tables which i design please correct me..

Table1ForRow1
--------------
col Identity,
col1,100
col2,1
col3,xx
col4,yy
col5,,,
col6,20030101

Table1ForRow2
-------------
col Identity,
col1,100
col2,2
col3,20030101

Table1ForRow3
------------
col Identity,
col1,100
col2,3
col3,01
col4,20030101


When i queried then I want the output:
100,1,xx,yy,20030101,2,3,01

sqldba2k6
Posting Yak Master

176 Posts

Posted - 2007-05-13 : 15:37:55
Please help me in designing the tables...
I used to get flat files which i need to import into a tables..
The flat files data which contains.....

FlatFiledata:
------------
100,1,xx,yy,,20030101
100,2,20030101
100,3,01,20030101


Below are the tables which i design please correct me..

Table1ForRow1
--------------
col Identity,
col1,100
col2,1
col3,xx
col4,yy
col5,,,
col6,20030101

Table2ForRow2
-------------
col Identity,
col1,100
col2,2
col3,20030101

Table3ForRow3
------------
col Identity,
col1,100
col2,3
col3,01
col4,20030101


When i queried then I want the output:
100,1,xx,yy,20030101,2,3,01
Go to Top of Page
   

- Advertisement -