Click here to Skip to main content
15,909,737 members
Home / Discussions / Database
   

Database

 
AnswerRe: urgent: can any one plz solve my problem regading SQL Query Pin
arnoldpinto8418-Sep-07 22:13
arnoldpinto8418-Sep-07 22:13 
GeneralRe: urgent: can any one plz solve my problem regading SQL Query Pin
mavii18-Sep-07 22:56
mavii18-Sep-07 22:56 
GeneralRe: urgent: can any one plz solve my problem regading SQL Query Pin
arnoldpinto8418-Sep-07 23:11
arnoldpinto8418-Sep-07 23:11 
GeneralRe: urgent: can any one plz solve my problem regading SQL Query Pin
mavii18-Sep-07 23:35
mavii18-Sep-07 23:35 
GeneralRe: urgent: can any one plz solve my problem regading SQL Query Pin
arnoldpinto8418-Sep-07 23:50
arnoldpinto8418-Sep-07 23:50 
GeneralRe: urgent: can any one plz solve my problem regading SQL Query Pin
mavii21-Sep-07 0:59
mavii21-Sep-07 0:59 
AnswerRe: urgent: can any one plz solve my problem regading SQL Query Pin
piyusgupta19-Sep-07 1:25
piyusgupta19-Sep-07 1:25 
AnswerRe: urgent: can any one plz solve my problem regading SQL Query Pin
QPun18-Sep-07 22:49
QPun18-Sep-07 22:49 
Pardon me if i'm missunderstood,
but those two queries is tend to insert different value to the table, so what is the reason you should merge them into one query??
maybe you could execute only one query by your application code , such as

if xxx = "true" then
strQuery = "INSERT INTO criminal(cr_name,no_times,cr_desc,cr_pic,fing_print)VALUES('" + textBox1.Text + "','" + textBox5.Text + "','" + textBox4.Text + "','" + textBox6.Text + "','" + textBox7.Text + "')";

else
strQuery = "INSERT INTO criminal(pic_name) SELECT substring(cr_pic,11,30) FROM criminal";

end if
GeneralRe: urgent: can any one plz solve my problem regading SQL Query Pin
mavii18-Sep-07 22:59
mavii18-Sep-07 22:59 
AnswerRe: urgent: can any one plz solve my problem regading SQL Query Pin
Christian Graus18-Sep-07 23:09
protectorChristian Graus18-Sep-07 23:09 
AnswerRe: urgent: can any one plz solve my problem regading SQL Query Pin
joemonvarghese19-Sep-07 2:15
joemonvarghese19-Sep-07 2:15 
AnswerRe: urgent: can any one plz solve my problem regading SQL Query Pin
Pete O'Hanlon19-Sep-07 3:22
mvePete O'Hanlon19-Sep-07 3:22 
QuestionSQL Report Service 2005 Auto Filter Pin
QPun18-Sep-07 20:49
QPun18-Sep-07 20:49 
QuestionHow to read XML from Sql server 2005? Pin
DGtech18-Sep-07 18:46
DGtech18-Sep-07 18:46 
QuestionListbox Pin
jaakinye18-Sep-07 8:59
jaakinye18-Sep-07 8:59 
AnswerRe: Listbox Pin
Kschuler18-Sep-07 9:16
Kschuler18-Sep-07 9:16 
QuestionMSVS 2005 and Vista Pin
Jon Stroh18-Sep-07 8:42
Jon Stroh18-Sep-07 8:42 
GeneralPHP WORK (PAID WELL) [modified] Pin
miggy200518-Sep-07 8:01
miggy200518-Sep-07 8:01 
GeneralRe: PHP WORK (PAID WELL) Pin
Dave Kreskowiak18-Sep-07 8:23
mveDave Kreskowiak18-Sep-07 8:23 
GeneralRe: PHP WORK (PAID WELL) Pin
Pete O'Hanlon18-Sep-07 10:58
mvePete O'Hanlon18-Sep-07 10:58 
Questionusing MS Access queries from a .NET application Pin
pete007_ke18-Sep-07 4:59
pete007_ke18-Sep-07 4:59 
AnswerRe: using MS Access queries from a .NET application Pin
Justin Perez18-Sep-07 5:07
Justin Perez18-Sep-07 5:07 
QuestionHow to set a stored procedure's time-out period Pin
MatthysDT18-Sep-07 4:20
MatthysDT18-Sep-07 4:20 
AnswerRe: How to set a stored procedure's time-out period Pin
Pete O'Hanlon18-Sep-07 4:56
mvePete O'Hanlon18-Sep-07 4:56 
GeneralRe: How to set a stored procedure's time-out period Pin
MatthysDT18-Sep-07 5:06
MatthysDT18-Sep-07 5:06 

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.