Click here to Skip to main content
15,895,084 members
Home / Discussions / Database
   

Database

 
Questiongenerate & compare id from table in sql storeprocedure Pin
premprakashbhati30-Apr-09 22:26
premprakashbhati30-Apr-09 22:26 
Questionstored procedure is fast, but slow from code Pin
Meysam Mahfouzi30-Apr-09 20:47
Meysam Mahfouzi30-Apr-09 20:47 
AnswerRe: stored procedure is fast, but slow from code Pin
Henry Minute1-May-09 0:04
Henry Minute1-May-09 0:04 
AnswerUse Estimated execution plan Pin
David Mujica1-May-09 3:24
David Mujica1-May-09 3:24 
GeneralRe: Use Estimated execution plan Pin
Meysam Mahfouzi1-May-09 5:53
Meysam Mahfouzi1-May-09 5:53 
GeneralRe: Use Estimated execution plan Pin
David Mujica1-May-09 7:55
David Mujica1-May-09 7:55 
AnswerRe: stored procedure is fast, but slow from code Pin
Mycroft Holmes1-May-09 14:52
professionalMycroft Holmes1-May-09 14:52 
QuestionMySQL: how to call a stored proc with OUT param Pin
devvvy30-Apr-09 20:15
devvvy30-Apr-09 20:15 
hi there,

how can you call a stored proc with OUT param in MySQL?


CREATE PROCEDURE spListUser (
...
PrimaryEmailFilter nvarchar(255),
..
OUT NumItemsSelected int
)
BEGIN
...
END;

I tried different things none work.

<br />
CALL spListUser (<br />
...<br />
	@NumItemsSelected<br />
);<br />
<br />
CALL spListUser (<br />
...<br />
	OUT @NumItemsSelected<br />
);<br />
<br />
CALL spListUser (<br />
...<br />
	@NumItemsSelected OUT<br />
);<br />


In the end, I figured that it worked with Command line client but not with TOAD. What the hell is this? Anybody come across this before?

Thanks

dev

QuestionMicrosoft SQL 2008 Pin
Ivan200930-Apr-09 10:20
Ivan200930-Apr-09 10:20 
AnswerRe: Microsoft SQL 2008 Pin
Henry Minute30-Apr-09 11:43
Henry Minute30-Apr-09 11:43 
GeneralRe: Microsoft SQL 2008 Pin
Ivan200930-Apr-09 14:12
Ivan200930-Apr-09 14:12 
GeneralRe: Microsoft SQL 2008 Pin
Mycroft Holmes30-Apr-09 17:50
professionalMycroft Holmes30-Apr-09 17:50 
GeneralRe: Microsoft SQL 2008 Pin
Ivan20091-May-09 6:28
Ivan20091-May-09 6:28 
Questionsystem table sysmergesubscriptions: replacements for distributor and srvid Pin
Roland Bär30-Apr-09 6:03
Roland Bär30-Apr-09 6:03 
Questionlinked server error in sql server Pin
Maddie from Dartford30-Apr-09 3:32
Maddie from Dartford30-Apr-09 3:32 
AnswerRe: linked server error in sql server Pin
Mycroft Holmes30-Apr-09 17:54
professionalMycroft Holmes30-Apr-09 17:54 
Questionselect where only Pin
foryou30-Apr-09 0:58
foryou30-Apr-09 0:58 
AnswerRe: select where only Pin
scottgp30-Apr-09 1:46
professionalscottgp30-Apr-09 1:46 
GeneralRe: select where only Pin
foryou30-Apr-09 2:56
foryou30-Apr-09 2:56 
QuestionUpdate datagridview Pin
hitesh.kalra29-Apr-09 21:41
hitesh.kalra29-Apr-09 21:41 
AnswerRe: Update datagridview Pin
Mycroft Holmes29-Apr-09 22:03
professionalMycroft Holmes29-Apr-09 22:03 
AnswerRe: Update datagridview Pin
Spunky Coder29-Apr-09 22:13
Spunky Coder29-Apr-09 22:13 
AnswerRe: Update datagridview Pin
saanj29-Apr-09 23:56
saanj29-Apr-09 23:56 
QuestionValidate emailaddress Pin
hitesh.kalra29-Apr-09 21:37
hitesh.kalra29-Apr-09 21:37 
AnswerRe: Validate emailaddress Pin
Mycroft Holmes29-Apr-09 22:02
professionalMycroft Holmes29-Apr-09 22:02 

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.