You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-cloud...@googlegroups.com
I'm attempting to execute a "DROP VIEW ..." or "CREATE OR REPLACE ...." statement from within my app and via the SQL Prompt on the Google APIs Console. The view does exist. In both the app and the SQL Prompt the system hangs for while (I'm guessing 60 seconds) and then reports "
Unable to execute statement". My SQL syntax is valid and it works perfectly on my local MySQL. Am I doing something wrong?
Thanks,
Dan
Daniel Thompson
unread,
Jan 11, 2013, 4:53:00 PM1/11/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-cloud...@googlegroups.com
I figured out what the problem was: There was a separate bit of code that had selected from the view I was trying to drop and which wasn't closing it's cursor down properly. While it didn't seem to matter on my local development environment, that open cursor was blocking the DROP VIEW command. I modified my code to ensure that all cursors and connections were closed and the problem went away.