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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stored proc. I cant use it results! (FB)

Status
Not open for further replies.

parslej

Programmer
Nov 21, 2001
40
PL
I wrote Stored procedures returnes: field1,field2.
When I execute SQL like this: Select * FROM myStProc
Firebird returns field1,field2 and its values.
OK.
But if I want do something like this:
Select S.field1 FROM myStProc S
or
Select S.*,T.name FROM myStProc S, names_table T
Where S.field1=T.id

SQL server tell me "Column unknown field1"

So - why I can't use st.Procedures 'fields' in queries ?!

Please help - I'is very important to me...
 
Firebird is not InterBase. Ask your Firebird questions at ib-support@yahoogroups.com

Did you create your procedure case sensitive? (with double quotes?) if so - use select s."Field1"

Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
 
Thanx!

It helps!!!!
I don't know how set st.proc case sensitive... but
"Field1" works well so - many tkanx!


Parsley
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top