Click here to Skip to main content
15,887,477 members
Home / Discussions / Database
   

Database

 
Questionconnection string Pin
nelsonpaixao13-Jul-08 15:06
nelsonpaixao13-Jul-08 15:06 
AnswerRe: connection string Pin
Vimalsoft(Pty) Ltd13-Jul-08 15:48
professionalVimalsoft(Pty) Ltd13-Jul-08 15:48 
AnswerRe: connection string Pin
Ashfield13-Jul-08 21:01
Ashfield13-Jul-08 21:01 
GeneralRe: connection string Pin
nelsonpaixao14-Jul-08 13:11
nelsonpaixao14-Jul-08 13:11 
Questionhelp me to write procedure Pin
amistry_petlad13-Jul-08 7:40
amistry_petlad13-Jul-08 7:40 
AnswerRe: help me to write procedure Pin
nelsonpaixao13-Jul-08 13:35
nelsonpaixao13-Jul-08 13:35 
AnswerRe: help me to write procedure Pin
amistry_petlad13-Jul-08 13:41
amistry_petlad13-Jul-08 13:41 
AnswerRe: help me to write procedure Pin
nelsonpaixao13-Jul-08 14:37
nelsonpaixao13-Jul-08 14:37 
GeneralRe: help me to write procedure Pin
amistry_petlad13-Jul-08 14:47
amistry_petlad13-Jul-08 14:47 
AnswerRe: help me to write procedure Pin
leoinfo13-Jul-08 17:21
leoinfo13-Jul-08 17:21 
GeneralRe: help me to write procedure Pin
amistry_petlad13-Jul-08 17:57
amistry_petlad13-Jul-08 17:57 
GeneralRe: help me to write procedure Pin
Paul Conrad13-Jul-08 18:06
professionalPaul Conrad13-Jul-08 18:06 
GeneralRe: help me to write procedure Pin
amistry_petlad13-Jul-08 18:12
amistry_petlad13-Jul-08 18:12 
GeneralRe: help me to write procedure Pin
Paul Conrad13-Jul-08 18:16
professionalPaul Conrad13-Jul-08 18:16 
Blush | :O I just realized there was the second one. The second one sets a variable that is the sql string, and the exec(...) executes the sql string.

You could get really fancy with this stored proc, such as adding where clause, and order by as parameters into the stored proc, and add them to the @cmd variable.

"The clue train passed his station without stopping." - John Simmons / outlaw programmer

"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon


GeneralRe: help me to write procedure Pin
nelsonpaixao13-Jul-08 15:12
nelsonpaixao13-Jul-08 15:12 
GeneralRe: help me to write procedure Pin
amistry_petlad13-Jul-08 17:58
amistry_petlad13-Jul-08 17:58 
Questiondecimal not show zero [modified] Pin
tai-fun12-Jul-08 3:38
tai-fun12-Jul-08 3:38 
AnswerRe: decimal not show zero Pin
leoinfo12-Jul-08 7:07
leoinfo12-Jul-08 7:07 
Questionrow to column in sql Pin
ravindra_ee24811-Jul-08 19:58
ravindra_ee24811-Jul-08 19:58 
AnswerRe: row to column in sql Pin
Vimalsoft(Pty) Ltd13-Jul-08 15:55
professionalVimalsoft(Pty) Ltd13-Jul-08 15:55 
QuestionMail Triggering in SQL_Server Problem Pin
sabaMCA11-Jul-08 13:43
sabaMCA11-Jul-08 13:43 
AnswerRe: Mail Triggering in SQL_Server Problem Pin
Vimalsoft(Pty) Ltd12-Jul-08 11:11
professionalVimalsoft(Pty) Ltd12-Jul-08 11:11 
QuestionMail Triggering in SQL_Server Problem Pin
sabaMCA11-Jul-08 13:42
sabaMCA11-Jul-08 13:42 
QuestionHow to store stored proc results to a temp table Pin
DotNetXenon11-Jul-08 10:52
DotNetXenon11-Jul-08 10:52 
AnswerRe: How to store stored proc results to a temp table Pin
Vimalsoft(Pty) Ltd12-Jul-08 11:17
professionalVimalsoft(Pty) Ltd12-Jul-08 11:17 

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.