Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 23rd, 2005, 06:55 PM
locoHost locoHost is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 3 locoHost User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m 3 sec
Reputation Power: 0
Question Correct syntax to call SP?

I finally got my SP to compile.

How do I call it and pass params from code? I've tried all of these variations...

sp_PlayerFind(PlayerName='ProfKill')

sp_PlayerFind(@PlayerName='ProfKill')

sp_PlayerFind(:PlayerName='ProfKill')

Nothing works. I get an error everytime. Error is...

Dynamic SQL Error
SQL error code = -104
Token unknown - line 1, char 1
SP_PLAYERFIND

What is the correct syntax for calling a SP?

Thanks in advance for your help

Reply With Quote
  #3  
Old July 24th, 2005, 07:30 AM
SilverDB's Avatar
SilverDB SilverDB is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: Romania
Posts: 173 SilverDB User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 45 m 53 sec
Reputation Power: 4
Send a message via Yahoo to SilverDB
Execute Procedure Sp_playerfind(parameter);
__________________
If i've been helpful, please add to my reputation.
My unfinished site: http://www.dever.ro

Reply With Quote
  #4  
Old July 24th, 2005, 07:51 AM
locoHost locoHost is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 3 locoHost User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m 3 sec
Reputation Power: 0
Smile Thanks!

Thanks for the replies guys. My TSQL to PSQL has been a struggle. Much more so than I would have thought. I did -a lot- of Googling yesterday and never found the articles you posted. I'm reading them now. I got some quick replies from the Firebird mailing list and solved the problem.

I'm headed to Borders this weekend to pick up a book.

Thank you again! :-)

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Correct syntax to call SP?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway