Click here to Skip to main content
15,886,362 members
Home / Discussions / Database
   

Database

 
Question[Message Deleted] Pin
munklefish14-May-09 0:41
munklefish14-May-09 0:41 
GeneralRe: STORE PROCEDURE: Problems with update statement Pin
jbracken197314-May-09 1:06
jbracken197314-May-09 1:06 
GeneralRe: STORE PROCEDURE: Problems with update statement Pin
munklefish14-May-09 2:08
munklefish14-May-09 2:08 
QuestionSQL and Novell [modified] Pin
aastudent13-May-09 20:16
aastudent13-May-09 20:16 
AnswerRe: SQL and Novell Pin
scottgp14-May-09 0:19
professionalscottgp14-May-09 0:19 
GeneralRe: SQL and Novell Pin
aastudent14-May-09 3:32
aastudent14-May-09 3:32 
GeneralRe: SQL and Novell Pin
scottgp14-May-09 4:32
professionalscottgp14-May-09 4:32 
QuestionStored Procedure problem >> Pin
kindman_nb13-May-09 15:29
kindman_nb13-May-09 15:29 
Hay ,
I edit a stored procedure to select a Name column from various tables as the next :

Create PROCEDURE [dbo].[SelectName]<br />
	@table_name sysname,<br />
	@sName nvarchar(50)<br />
AS<br />
<br />
exec ( ' SELECT * FROM ' + @table_name + ' WHERE Name =' +  @sName  )


then when i execute it and pass the next valriables

<br />
@table_name = 'emp'<br />
@sName = 'NameTest'<br />

the next error message appear

<br />
Invalid column name  'NameTest'<br />


what the error here ,,
thanks

jooooo

AnswerRe: Stored Procedure problem &gt;&gt; Pin
scottgp13-May-09 16:19
professionalscottgp13-May-09 16:19 
GeneralRe: Stored Procedure problem &gt;&gt; Pin
kindman_nb14-May-09 2:07
kindman_nb14-May-09 2:07 
GeneralRe: Stored Procedure problem &gt;&gt; Pin
scottgp14-May-09 4:14
professionalscottgp14-May-09 4:14 
AnswerRe: Stored Procedure problem &gt;&gt; Pin
Rob Philpott14-May-09 1:16
Rob Philpott14-May-09 1:16 
QuestionFilter where sum is not Zero [modified] Pin
Lash2013-May-09 10:45
Lash2013-May-09 10:45 
AnswerRe: Filter where sum is not Zero Pin
_Damian S_13-May-09 14:16
professional_Damian S_13-May-09 14:16 
NewsUsing object database db4o for data access Pin
netquake13-May-09 6:32
netquake13-May-09 6:32 
Questionnot be able to open SQLSERVER 2005 error 80040e4d Pin
Royaltvk13-May-09 4:54
Royaltvk13-May-09 4:54 
AnswerRe: not be able to open SQLSERVER 2005 error 80040e4d Pin
Ian McCaul13-May-09 6:02
Ian McCaul13-May-09 6:02 
QuestionHow I can get the Fields DataBase names of X Table ? Pin
E_Gold13-May-09 4:34
E_Gold13-May-09 4:34 
AnswerRe: How I can get the Fields DataBase names of X Table ? Pin
Henry Minute14-May-09 8:38
Henry Minute14-May-09 8:38 
QuestionGet list of OleDb providers with C# Pin
musefan13-May-09 4:25
musefan13-May-09 4:25 
AnswerRe: Get list of OleDb providers with C# Pin
Mark Shteinberg25-Jul-10 6:10
Mark Shteinberg25-Jul-10 6:10 
QuestionIs it possible to store a large array in Excel... [modified] Pin
new_phoenix13-May-09 4:03
new_phoenix13-May-09 4:03 
AnswerRe: Is it possible to store a large array in Excel... Pin
_Damian S_13-May-09 14:09
professional_Damian S_13-May-09 14:09 
GeneralRe: Is it possible to store a large array in Excel... Pin
new_phoenix13-May-09 15:24
new_phoenix13-May-09 15:24 
GeneralRe: Is it possible to store a large array in Excel... Pin
_Damian S_13-May-09 16:20
professional_Damian S_13-May-09 16:20 

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.