Re: escape a dash in table name

2008-08-28 Thread Peter Brawley

>How do you escape a dash in a table name such as temp-08-08-28?

Best not to use them at all. If you must for some odd reason, use 
backticks round the name.


PB

Dan O'Keefe wrote:

How do you escape a dash in a table name such as temp-08-08-28?

Thanks,

Dan

  


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: escape a dash in table name

2008-08-28 Thread ewen fortune
Using backticks
`temp-08-08-28`

Cheers,

Ewen

On Thu, Aug 28, 2008 at 1:01 PM, Dan O'Keefe <[EMAIL PROTECTED]> wrote:
> How do you escape a dash in a table name such as temp-08-08-28?
>
> Thanks,
>
> Dan
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
>
>

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: escape a dash in table name

2008-08-28 Thread metastable

Dan O'Keefe wrote:

How do you escape a dash in a table name such as temp-08-08-28?

Thanks,

Dan

  

How about `` ?

hth,

Stijn

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]