Click here to Skip to main content
15,911,646 members
Home / Discussions / Database
   

Database

 
QuestionGet Children Pin
mehrdadc481-Feb-10 22:58
mehrdadc481-Feb-10 22:58 
AnswerRe: Get Children Pin
April Fans2-Feb-10 19:50
April Fans2-Feb-10 19:50 
QuestionTrying to add data connection but sql doesn't like me tonight Pin
tonyonlinux1-Feb-10 20:35
tonyonlinux1-Feb-10 20:35 
AnswerRe: Trying to add data connection but sql doesn't like me tonight Pin
WoutL1-Feb-10 21:12
WoutL1-Feb-10 21:12 
AnswerRe: Trying to add data connection but sql doesn't like me tonight Pin
Mycroft Holmes1-Feb-10 21:16
professionalMycroft Holmes1-Feb-10 21:16 
AnswerRe: Trying to add data connection but sql doesn't like me tonight Pin
Roger Wright3-Feb-10 19:51
professionalRoger Wright3-Feb-10 19:51 
GeneralRe: Trying to add data connection but sql doesn't like me tonight Pin
tonyonlinux3-Feb-10 20:14
tonyonlinux3-Feb-10 20:14 
Questioninserting data using union Pin
uglyeyes1-Feb-10 19:36
uglyeyes1-Feb-10 19:36 
Hi,

I need to handle missing select values programattically. this is what i have

insert into A(id, name, age, value, DOB)

select 1,'Max','21','a','100928' union
select 2,'x','100948'   union
select 3,'Rex','32','b','100928' union
select 4,'xx','100938'   union
select 5 'Fed','24','xx','100928'

all my insert statement are stripped off via regex. the structure of insert statement is as show above. but at times it may miss "name" and "age" and it gives me error something like

All queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions

now those insert scripts are quite bulky. sometime 100MB I would like to automatically handle missing name and age.   I am not sure how could i do that? could you please give me some idea?
AnswerRe: inserting data using union Pin
WoutL1-Feb-10 20:13
WoutL1-Feb-10 20:13 
GeneralRe: inserting data using union Pin
uglyeyes2-Feb-10 1:20
uglyeyes2-Feb-10 1:20 
GeneralRe: inserting data using union Pin
WoutL2-Feb-10 1:44
WoutL2-Feb-10 1:44 
AnswerRe: inserting data using union Pin
Ashfield2-Feb-10 8:52
Ashfield2-Feb-10 8:52 
QuestionHiding the Database Pin
Satish - Developer1-Feb-10 18:13
Satish - Developer1-Feb-10 18:13 
AnswerRe: Hiding the Database Pin
Mycroft Holmes1-Feb-10 19:20
professionalMycroft Holmes1-Feb-10 19:20 
AnswerRe: Hiding the Database Pin
i.j.russell2-Feb-10 2:59
i.j.russell2-Feb-10 2:59 
AnswerRe: Hiding the Database Pin
Eddy Vluggen2-Feb-10 4:09
professionalEddy Vluggen2-Feb-10 4:09 
AnswerRe: Hiding the Database Pin
Ashfield2-Feb-10 8:54
Ashfield2-Feb-10 8:54 
AnswerRe: Hiding the Database Pin
PIEBALDconsult2-Feb-10 14:06
mvePIEBALDconsult2-Feb-10 14:06 
QuestionNeed to import a table & Query from one mdb to other Pin
honeyashu1-Feb-10 16:43
honeyashu1-Feb-10 16:43 
AnswerRe: Need to import a table & Query from one mdb to other Pin
_Damian S_1-Feb-10 17:15
professional_Damian S_1-Feb-10 17:15 
GeneralRe: Need to import a table & Query from one mdb to other Pin
honeyashu1-Feb-10 17:19
honeyashu1-Feb-10 17:19 
GeneralRe: Need to import a table & Query from one mdb to other Pin
Mycroft Holmes1-Feb-10 19:15
professionalMycroft Holmes1-Feb-10 19:15 
QuestionHow to access a local postgres database from VC++ with ODBC? Pin
keret1-Feb-10 12:19
keret1-Feb-10 12:19 
Questionsql instances and a deuced connection Pin
reza assar1-Feb-10 10:38
reza assar1-Feb-10 10:38 
AnswerRe: sql instances and a deuced connection Pin
Eddy Vluggen1-Feb-10 11:15
professionalEddy Vluggen1-Feb-10 11:15 

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.