Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how can I pass a quota and comma string in SP?

Status
Not open for further replies.

jliang

MIS
Apr 26, 2004
30
US
Hi,

I wrote a store procedure and I need pass a parameter like:

'('A,'B','C','D')' as a string to SP. Can you help me how can I work around for it?

Thanks very much

Jing
 
Very easy:
'' = '

so for your query:
call db.SP('(''A,''B'',''C'',''D'')');
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top