Re: [Sedna-discussion] Initializing a sedna database

2013-08-27 Thread Ivan Shcheklein
...

Or you can also create empty document with the CREATE statement:

http://sedna.org/progguide/ProgGuidesu8.html#x14-530002.5.1

and load XML data into it using update language:

http://sedna.org/progguide/ProgGuidesu6.html#x12-440002.3

For example:

create document 'test'&
update insert Test into doc('test')&
doc('test')

Ivan
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion


Re: [Sedna-discussion] Initializing a sedna database

2013-08-27 Thread Ivan Shcheklein
Hi Miranda,

In Sedna schema is defined by the documents stored in the database. So, all
you need is the LOAD statement:

http://sedna.org/progguide/ProgGuidesu7.html#x13-52.4


Ivan Shcheklein,
Sedna Team


On Tue, Aug 27, 2013 at 8:05 PM, Jacobson, Miranda <
[email protected]> wrote:

>  Hello,
>
> ** **
>
> I am using sedna and can successfully launch the governor, create a
> database and create a connection. But if I try to query I get a document
> not found error . I have looked over the documentation and can’t find a way
> to initialize the database with the schema I will be using? Also if I do
> initialize the database with my schema how to I test it next time my
> application runs so I don’t overwrite the database if it has been
> initialized and records have been added? 
>
> This is the actual error I get:
>
> ** **
>
> "SEDNA Message: ERROR FODC0002
>
> Error retrieving resource. 
>
> Details: Document 'PATIENT_TEST_DB'
>
> Query line: 7, column:13”
>
> ** **
>
> I am also attaching my event log. 
>
> ** **
>
> Any help would be greatly appreciated. 
>
> ** **
>
> Miranda Jacobson
>
> Senior Software Engineer
>
>
> --
> NOTICE: The information contained in this electronic message and any
> attachments to this message may contain information that is privileged,
> confidential, or is otherwise protected by work product immunity. If the
> reader of this message is not the intended recipient, or an employee or
> agent responsible for delivering this message to the intended recipient,
> you are hereby notified that any dissemination, distribution, use, copying,
> and/or disclosure of its contents is strictly prohibited. If you have
> received this message in error, please notify us immediately by either
> replying to this message or calling Volcano Corporation at +1 (800)
> 228-4728 and, deleting this message from your computer.   ­­
>
>
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> ___
> Sedna-discussion mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sedna-discussion
>
>
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk___
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion