Home > database >  How to get the query of value? And how in another query statements on the same page in the applicati
How to get the query of value? And how in another query statements on the same page in the applicati

Time:10-03

Novice I do a search function. Because is a novel network content part no with the title section in a table so is associated with the id!
Select uid1 from xiaoshuo3 where neirong like '% "+ ceshi +" %'
So it is concluded that a id1 but how to get his value and should be in another query statement? Please give advice or comments!!!!!! Online etc.! urgent

CodePudding user response:


Because is to use the like access, may not have one, select is take out, so the cursor or make a DW to query!


If the return is a data, so take it!
Stirng s_id

Select the id into: s_id from the table... ;


The select... From the table where XXX=: s_id;

CodePudding user response:

,,, sister!!!!!! I don't know much about the SQL database,,, can I say simple point? You so I tried not,,, may be I understand is wrong,,, I hope you can speak simple point,,,

CodePudding user response:

Don't understand what you want to query the content... Are you a written in pb

CodePudding user response:

Not with c#.net

CodePudding user response:

That you ask the wrong place... To c #

CodePudding user response:

reference 4 floor kekele1228 response:
not use c#.net

Ha ha, interesting
  • Related