Login
Products
Sales
Support
Downloads
About
Home
»
Technical Support
»
ElevateDB Technical Support
»
Support Forums
»
ElevateDB SQL
»
View Thread
View Thread
The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Creating a database
Sun, Dec 13 2009 11:05 AM
Permanent Link
Roy Lambert
NLH Associates
Team Elevate
if I use
dm.Session.Execute('CREATE Database "' + NewName + '" PATH ' + QuotedStr(Location + NewName));
to create a new database what value indicates success and what failure or do I need to use a try..except block?
Roy Lambert
Tue, Dec 15 2009 7:36 AM
Permanent Link
Tim Young [Elevate Software]
Elevate Software, Inc.
timyoung@elevatesoft.com
Roy,
<< to create a new database what value indicates success and what failure or
do I need to use a try..except block? >>
The latter - try..except.
--
Tim Young
Elevate Software
www.elevatesoft.com