Click here to Skip to main content
15,910,211 members
Home / Discussions / Database
   

Database

 
GeneralRe: Case-Sensitive Pin
Ahmed Galal29-Dec-04 2:33
Ahmed Galal29-Dec-04 2:33 
Generalasp ado problem. Pin
RomanD28-Dec-04 16:02
RomanD28-Dec-04 16:02 
GeneralRe: asp ado problem. Pin
Colin Angus Mackay29-Dec-04 1:33
Colin Angus Mackay29-Dec-04 1:33 
GeneralRe: asp ado problem. Pin
mysorian29-Dec-04 10:57
professionalmysorian29-Dec-04 10:57 
GeneralRe: asp ado problem. Pin
mysorian29-Dec-04 10:57
professionalmysorian29-Dec-04 10:57 
GeneralRe: asp ado problem. Pin
RomanD29-Dec-04 12:37
RomanD29-Dec-04 12:37 
GeneralRe: asp ado problem. Pin
Mike Dimmick30-Dec-04 3:58
Mike Dimmick30-Dec-04 3:58 
Generalsql exec Pin
SudeepPradhan28-Dec-04 13:59
SudeepPradhan28-Dec-04 13:59 
I normally do like this..
if exists ( select * from Table1 )<br />
begin<br />
...<br />
end


But now I don't know Table1 until runtime so I did

declare @sql nvarchar(50)<br />
set @sql = 'Select * from'+@Table <br />
if exists ( exec (@sql) )

How can I achieve last line of code?? It is not working? How can I check the condition?
GeneralRe: sql exec Pin
Javier Lozano28-Dec-04 14:40
Javier Lozano28-Dec-04 14:40 
GeneralRe: sql exec Pin
Colin Angus Mackay28-Dec-04 14:44
Colin Angus Mackay28-Dec-04 14:44 
GeneralAdding user-defined property to Access db Pin
sharonz28-Dec-04 6:06
sharonz28-Dec-04 6:06 
GeneralADO.net in unmanaged code Pin
MARROT28-Dec-04 4:42
MARROT28-Dec-04 4:42 
GeneralSame SQL Statement in access and in vb.net return difference result Pin
Mekong River27-Dec-04 21:30
Mekong River27-Dec-04 21:30 
GeneralRe: Same SQL Statement in access and in vb.net return difference result Pin
WoutL28-Dec-04 0:38
WoutL28-Dec-04 0:38 
GeneralRe: Same SQL Statement in access and in vb.net return difference result Pin
Mekong River28-Dec-04 10:16
Mekong River28-Dec-04 10:16 
GeneralRe: Same SQL Statement in access and in vb.net return difference result Pin
Mekong River28-Dec-04 14:56
Mekong River28-Dec-04 14:56 
GeneralQuerying CSV file using ODBC Pin
Wayne Phipps27-Dec-04 9:12
Wayne Phipps27-Dec-04 9:12 
GeneralMS-Access insert problem Pin
Imtiaz Murtaza27-Dec-04 0:38
Imtiaz Murtaza27-Dec-04 0:38 
GeneralRe: MS-Access insert problem Pin
Rob Graham31-Dec-04 3:54
Rob Graham31-Dec-04 3:54 
Questionhow to use ADO Event with VC6.0? Pin
深蓝26-Dec-04 19:26
深蓝26-Dec-04 19:26 
GeneralCrystal Reports... Pin
dSolariuM26-Dec-04 15:41
dSolariuM26-Dec-04 15:41 
GeneralSql variable Value Problem Pin
Hemant_Mane200325-Dec-04 3:14
sussHemant_Mane200325-Dec-04 3:14 
GeneralLooping Through Table Display Category Hierarchy Pin
tech@untouchable24-Dec-04 9:35
tech@untouchable24-Dec-04 9:35 
GeneralRe: Looping Through Table Display Category Hierarchy Pin
sreejith ss nair27-Dec-04 19:05
sreejith ss nair27-Dec-04 19:05 
GeneralRe: Looping Through Table Display Category Hierarchy Pin
Anonymous28-Dec-04 5:13
Anonymous28-Dec-04 5:13 

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.