Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 1 to 2 of 2 total |
Why won't this script work? |
Sun, Feb 23 2014 7:04 PM | Permanent Link |
Barry | Am I missing something here? But this script when executed gives me an error. I have simplified it to the two line script shown below.
"ElevateDB Error #700 An error was found in the statement at line 5 and column 22 (Expected table name but instead found ?)" SCRIPT BEGIN Declare _Stmt Statement; Prepare _Stmt From 'Empty Table ? Ignore Constraints'; END It would appear a Prepare statement can't accept a parameter that holds a table name. Is that true? Then all SQL statements whose table name changes, will have to be built dynamically and be unprepared (using Execute Immediate ...). Is that correct? Barry |
Mon, Feb 24 2014 12:04 PM | Permanent Link |
Terry Swiers | Hi Barry,
> Then all SQL statements whose table name changes, will have to be built > dynamically and be unprepared (using Execute Immediate ...). Is that > correct? That is correct. --------------------------------------- Terry Swiers Millennium Software, Inc. http://www.1000years.com http://www.atrex.com --------------------------------------- |
This web page was last updated on Sunday, May 5, 2024 at 10:18 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |