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...
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...