You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Larry Meadors <lm...@apache.org> on 2007/11/20 05:19:43 UTC

Re: a primitive question

You can probably use an insert or update to do that.

Larry


On Nov 19, 2007 4:39 PM, Arora, Parvinder <PA...@att.com> wrote:
> A primitive question: How do I create tables using ibatis?
>
> I want to be able to do something like this
>
> Create table <XX> as
> Select ...
> From ...

Re: a primitive question

Posted by Larry Meadors <lm...@apache.org>.
Yes, you can use the $ syntax instead of the # to do that.

Larry


On Nov 20, 2007 9:54 AM, Arora, Parvinder <PA...@att.com> wrote:
> Can I dynamically bind the table name ?
>
> ~Parvinder
>
>
> -----Original Message-----
> From: larry.meadors@gmail.com [mailto:larry.meadors@gmail.com] On Behalf
> Of Larry Meadors
> Sent: Monday, November 19, 2007 11:20 PM
> To: Arora, Parvinder; user-java@ibatis.apache.org
> Subject: Re: a primitive question
>
> You can probably use an insert or update to do that.
>
> Larry
>
>
> On Nov 19, 2007 4:39 PM, Arora, Parvinder <PA...@att.com> wrote:
> > A primitive question: How do I create tables using ibatis?
> >
> > I want to be able to do something like this
> >
> > Create table <XX> as
> > Select ...
> > From ...
>

RE: a primitive question

Posted by "Arora, Parvinder" <PA...@att.com>.
Can I dynamically bind the table name ?

~Parvinder

-----Original Message-----
From: larry.meadors@gmail.com [mailto:larry.meadors@gmail.com] On Behalf
Of Larry Meadors
Sent: Monday, November 19, 2007 11:20 PM
To: Arora, Parvinder; user-java@ibatis.apache.org
Subject: Re: a primitive question

You can probably use an insert or update to do that.

Larry


On Nov 19, 2007 4:39 PM, Arora, Parvinder <PA...@att.com> wrote:
> A primitive question: How do I create tables using ibatis?
>
> I want to be able to do something like this
>
> Create table <XX> as
> Select ...
> From ...