Jan 28, 2003 #1 BB101 Programmer May 23, 2001 337 GB I'm not having much luck running perfectly fine and tested piece of SQL with PHP to create or drop a stored procedure. Has anyone else encountered this? Are there any work arounds? Thanks --BB
I'm not having much luck running perfectly fine and tested piece of SQL with PHP to create or drop a stored procedure. Has anyone else encountered this? Are there any work arounds? Thanks --BB
Jan 28, 2003 #2 sleipnir214 Programmer May 6, 2002 15,350 US If I may ask, why would you be programmatically dropping a stored procedure in the first place? Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL! Upvote 0 Downvote
If I may ask, why would you be programmatically dropping a stored procedure in the first place? Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!
Jan 28, 2003 Thread starter #3 BB101 Programmer May 23, 2001 337 GB It's for a client so he can update his system, it'll be a once run program, that is all. --BB Upvote 0 Downvote
Jan 28, 2003 #4 sleipnir214 Programmer May 6, 2002 15,350 US Are you getting any error messages? Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL! Upvote 0 Downvote
Are you getting any error messages? Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!
Jan 28, 2003 Thread starter #5 BB101 Programmer May 23, 2001 337 GB No error's, but it's returning false and not actually doing as its told! --BB Upvote 0 Downvote
Jan 29, 2003 Thread starter #6 BB101 Programmer May 23, 2001 337 GB With help from mssql_get_last_message() i found the word GO cocks things up for PHP. Thanks for the help anyway. --BB Upvote 0 Downvote
With help from mssql_get_last_message() i found the word GO cocks things up for PHP. Thanks for the help anyway. --BB