Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Creating a database
Sun, Dec 13 2009 11:05 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate 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 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email 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

Image