dbTalk Databases Forums  

dbxml createContainer

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss dbxml createContainer in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
kapilbajaj@gmail.com
 
Posts: n/a

Default dbxml createContainer - 12-16-2005 , 04:56 AM






Hi,

Similar to mysql command:
create database if not exists <DB_NAME>
Is there a way by which I can check whether container exists or not
using shell and then do createContainer.

Thanks,
Kapil


Reply With Quote
  #2  
Old   
Ron
 
Posts: n/a

Default Re: dbxml createContainer - 12-16-2005 , 12:25 PM






You can't do that from the Shell.

You can do that from the API:
You can call XmlManager:penContainer and specify the DB_CREATE flag.
For more information:
http://www.sleepycat.com/xmldocs/api...Container.html

Ron


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.