Click here to Skip to main content
15,889,863 members
Home / Discussions / Database
   

Database

 
AnswerRe: Without rollback Pin
Mycroft Holmes15-May-09 22:10
professionalMycroft Holmes15-May-09 22:10 
QuestionNeed some help with SQL Join statements please Pin
MarkB77715-May-09 1:14
MarkB77715-May-09 1:14 
QuestionREport server Pin
Tauseef A15-May-09 0:48
Tauseef A15-May-09 0:48 
AnswerRe: REport server Pin
Niladri_Biswas4-Jul-09 20:16
Niladri_Biswas4-Jul-09 20:16 
QuestionCreate "report query" Pin
AlexeiXX314-May-09 20:48
AlexeiXX314-May-09 20:48 
AnswerRe: Create "report query" Pin
Mycroft Holmes14-May-09 21:56
professionalMycroft Holmes14-May-09 21:56 
AnswerRe: Create "report query" [modified] Pin
Jörgen Andersson14-May-09 22:06
professionalJörgen Andersson14-May-09 22:06 
GeneralRe: Create "report query" Pin
AlexeiXX315-May-09 7:23
AlexeiXX315-May-09 7:23 
GeneralRe: Create "report query" Pin
Jörgen Andersson15-May-09 13:12
professionalJörgen Andersson15-May-09 13:12 
GeneralRe: Create "report query" Pin
AlexeiXX315-May-09 21:44
AlexeiXX315-May-09 21:44 
QuestionHow to create an exist database [modified] Pin
yueru14-May-09 16:22
yueru14-May-09 16:22 
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 

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.