|
RE: Escaping SQL names in torqu: msg#00133jakarta.turbine.torque.user
Hi Pedro, you can change the velocity templates which are used to create the sql scripts . They can be found in the generator in the subdirectory templates/sql. However, I would _NOT_ use reserved words as table or column names if I were you. I would be surprised if the sql scripts are the only difficulty you run into. For example, my guess is that you cannot do selects on tables which names are reserved words. Thomas "Pedro Castro" <pfc@xxxxxxxxxx> schrieb am 25.11.2004 19:30:33: > Hello all. > > > > Anyone knows how I can make torque to surround table names with the right > escape chars. For example in Sql Server to escape reserved words I would use > brackets: > > > > CREATE TABLE [File] > > . > > Or, in MySql: > > > > > > CREATE TABLE "File" > > > > > > Is it possible to change torque to do this according to the selected > database (even if it is needed to tell torque which is the right char)? > > > > Thank you very much. > |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Escaping SQL names in torqu: 00133, Pedro Castro |
|---|---|
| Next by Date: | Re: Escaping SQL names in torqu: 00133, T E Schmitz |
| Previous by Thread: | Escaping SQL names in torqui: 00133, Pedro Castro |
| Next by Thread: | Re: Escaping SQL names in torqu: 00133, T E Schmitz |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |