Click here to Skip to main content
15,888,521 members
Home / Discussions / Database
   

Database

 
GeneralASP.Net: Custom control problem with XML file data source Pin
Emma Burrows9-Jan-08 5:35
Emma Burrows9-Jan-08 5:35 
Generalda.Fill(second datatable) Pin
CandyMe9-Jan-08 5:20
CandyMe9-Jan-08 5:20 
GeneralRe: da.Fill(second datatable) Pin
Tom Deketelaere9-Jan-08 5:25
professionalTom Deketelaere9-Jan-08 5:25 
GeneralRe: da.Fill(second datatable) Pin
CandyMe9-Jan-08 5:32
CandyMe9-Jan-08 5:32 
GeneralRe: da.Fill(second datatable) Pin
Tom Deketelaere9-Jan-08 7:34
professionalTom Deketelaere9-Jan-08 7:34 
Questioninsert special characters into sql database Pin
swissmiss869-Jan-08 5:02
swissmiss869-Jan-08 5:02 
GeneralRe: insert special characters into sql database Pin
Ritesh12349-Jan-08 12:54
Ritesh12349-Jan-08 12:54 
Generalforce table names [modified] admin please move post to vb.net forum (thank you) Pin
Tom Deketelaere9-Jan-08 3:47
professionalTom Deketelaere9-Jan-08 3:47 
I have a sql statement wich gets the columnnames from several table by simply selecting nothing and putting that into a datatable (vb.net) off wich I read the columns
it works fine with one exception
when I have the same columnname more than once an number is added behind the column name
for instance if I have the columnname 'country' twice I will get 'country' and 'country1'
is there anyway to force it to display 'project_country' and 'client_country' or something like that so that I know from wich table the column is comming.

I use select * so giving the columns a unique name in the select statement is impossible. I use the select * because there is the posibilaty that a column is added after deployment of the main programme. Not using the select * would mean I would have to alter the sqlstatement to include this column and that would defeat the whole purpose of the programme I'm currently creating.

any help would be appriciated

after further investigation I found out that this is a vb.net problem so could an admin please move this post there, thank you

If my help was helpfull let me know, if not let me know why.

The only way we learn is by making mistakes.

modified on Wednesday, January 09, 2008 10:37:55 AM

GeneralCalculation not done in SubQuery :( Pin
ha_haseebahmad9-Jan-08 0:20
ha_haseebahmad9-Jan-08 0:20 
Questionhow to define a result a in a sp Pin
jagan1238-Jan-08 23:21
jagan1238-Jan-08 23:21 
AnswerRe: how to define a result a in a sp Pin
pmarfleet9-Jan-08 0:03
pmarfleet9-Jan-08 0:03 
AnswerRe: how to define a result a in a sp Pin
Joe9-Jan-08 0:07
Joe9-Jan-08 0:07 
GeneralTwo same temp tables in two diffrent stored procedures Pin
kalam8-Jan-08 23:13
kalam8-Jan-08 23:13 
GeneralRe: Two same temp tables in two diffrent stored procedures Pin
KANGAROO_9-Jan-08 0:42
KANGAROO_9-Jan-08 0:42 
GeneralRe: Two same temp tables in two diffrent stored procedures Pin
pmarfleet9-Jan-08 1:11
pmarfleet9-Jan-08 1:11 
GeneralRe: Two same temp tables in two diffrent stored procedures Pin
veereshIndia13-Jan-08 19:48
veereshIndia13-Jan-08 19:48 
GeneralSQL database replacement Pin
Maddie from Dartford8-Jan-08 23:04
Maddie from Dartford8-Jan-08 23:04 
GeneralRe: SQL database replacement Pin
pmarfleet9-Jan-08 0:02
pmarfleet9-Jan-08 0:02 
GeneralRe: SQL database replacement Pin
Mike Dimmick9-Jan-08 3:19
Mike Dimmick9-Jan-08 3:19 
GeneralRe: SQL database replacement Pin
Mark Churchill9-Jan-08 21:34
Mark Churchill9-Jan-08 21:34 
Questionstoring image in database Pin
Pankaj Garg8-Jan-08 22:21
Pankaj Garg8-Jan-08 22:21 
GeneralRe: storing image in database Pin
Paul Conrad13-Jan-08 7:12
professionalPaul Conrad13-Jan-08 7:12 
Questionhow to install sqsh on Windows after cygwin installed? Pin
devvvy8-Jan-08 20:48
devvvy8-Jan-08 20:48 
QuestionOracle error Pin
this is pumpkin8-Jan-08 10:17
this is pumpkin8-Jan-08 10:17 
GeneralRe: Oracle error Pin
Paul Conrad13-Jan-08 7:12
professionalPaul Conrad13-Jan-08 7:12 

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.