Click here to Skip to main content
15,904,024 members
Home / Discussions / Database
   

Database

 
GeneralRe: Password protection and Access Pin
Guinness4Strength21-Jun-04 16:27
Guinness4Strength21-Jun-04 16:27 
GeneralRe: Password protection and Access Pin
Guinness4Strength21-Jun-04 16:30
Guinness4Strength21-Jun-04 16:30 
GeneralRe: Password protection and Access Pin
Mike Ellison22-Jun-04 5:45
Mike Ellison22-Jun-04 5:45 
Generalvariables in sql statement Pin
Member 54508121-Jun-04 8:13
Member 54508121-Jun-04 8:13 
GeneralQuestion on updating multiple tables thru DataGrid Pin
Flack21-Jun-04 7:02
Flack21-Jun-04 7:02 
Generaltable name as a string Pin
si_6921-Jun-04 1:14
si_6921-Jun-04 1:14 
GeneralRe: table name as a string Pin
Steven Campbell21-Jun-04 2:57
Steven Campbell21-Jun-04 2:57 
GeneralRe: table name as a string Pin
VenkatFor.NET21-Jun-04 3:01
VenkatFor.NET21-Jun-04 3:01 
You can certainly do that.

But, instead of using "SELECT" as a T-SQL, construct it dynamically. Here is how that can be done within your SP.

DELCARE @sql_stmt varchar2(100)
SET @sql_stmt = "SELECT * FROM " + @table_name

EXEC ( @sql_stmt )

Bhaskara
QuestionDifference between Providers and drivers?? Pin
Anonymous20-Jun-04 20:15
Anonymous20-Jun-04 20:15 
AnswerRe: Difference between Providers and drivers?? Pin
Karthikeyan Muthurajan20-Jun-04 23:15
Karthikeyan Muthurajan20-Jun-04 23:15 
AnswerRe: Difference between Providers and drivers?? Pin
Steven Campbell21-Jun-04 2:54
Steven Campbell21-Jun-04 2:54 
GeneralStoring images in SQL server and Display Pin
gangigangi20-Jun-04 16:18
gangigangi20-Jun-04 16:18 
GeneralRe: Storing images in SQL server and Display Pin
Grimolfr28-Jun-04 8:39
Grimolfr28-Jun-04 8:39 
GeneralStoring aobjects into SQL Server table Pin
Diego F.20-Jun-04 1:04
Diego F.20-Jun-04 1:04 
GeneralRe: Storing aobjects into SQL Server table Pin
Hesham Amin20-Jun-04 22:38
Hesham Amin20-Jun-04 22:38 
GeneralRe: Storing aobjects into SQL Server table Pin
Diego F.20-Jun-04 23:58
Diego F.20-Jun-04 23:58 
GeneralRe: Storing aobjects into SQL Server table Pin
Hesham Amin21-Jun-04 3:12
Hesham Amin21-Jun-04 3:12 
GeneralRe: Storing aobjects into SQL Server table Pin
Diego F.21-Jun-04 4:19
Diego F.21-Jun-04 4:19 
GeneralRe: Storing aobjects into SQL Server table Pin
Hesham Amin21-Jun-04 21:52
Hesham Amin21-Jun-04 21:52 
GeneralRe: Storing aobjects into SQL Server table Pin
Diego F.21-Jun-04 23:44
Diego F.21-Jun-04 23:44 
GeneralRe: Storing aobjects into SQL Server table Pin
Grimolfr28-Jun-04 8:49
Grimolfr28-Jun-04 8:49 
GeneralADO.NET -> OleDb -> data adapter / parmeters question Pin
Vinay9220-Jun-04 0:21
Vinay9220-Jun-04 0:21 
GeneralRe: ADO.NET -> OleDb -> data adapter / parmeters question Pin
VenkatFor.NET20-Jun-04 10:16
VenkatFor.NET20-Jun-04 10:16 
GeneralRe: ADO.NET -> OleDb -> data adapter / parmeters question Pin
Vinay9220-Jun-04 16:41
Vinay9220-Jun-04 16:41 
GeneralComboBox Pin
viviansm18-Jun-04 20:42
viviansm18-Jun-04 20:42 

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.