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

Execute Permission Denied

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am trying to connect to the database and retrieve some records using Pro*C. Previously i used to connect to Sybase, now i need to connect to MS SQL Server. When i tried to do so, i am getting the below shown error message:

SQLCODE =-229 SQL State 42000
SQL Server Error in command : Create
Execute Permission denied on object 'xxxxx'

But when i tried the same query using a query analyzer ( with the same userid,password and database) i got results.
I dont know why is this not working with my Pro*C program.
What should i do now, any suggestions

Thanks
Tommy
 
It could be that you are connecting using NT security (trusted connection) using QA, but using standard login when using Pro*C. IOW, you effectively are connecting as two different users, each with their own permissions. Robert Bradley
Do you have too much money? Visit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top