Jump to content

need help in order by clause


doforumda

Recommended Posts

@OP: What "isn't working"? Do you get an error? If so, what is it?

 

@cags: Date is not a reserved keyword that requires backticks. See here for the full list.

MySQL allows some keywords to be used as unquoted identifiers because many people previously used them. ACTION, BIT, DATE, ENUM, NO, TEXT, TIME, TIMESTAMP

@OP: What "isn't working"? Do you get an error? If so, what is it?

 

@cags: Date is not a reserved keyword that requires backticks. See here for the full list.

MySQL allows some keywords to be used as unquoted identifiers because many people previously used them. ACTION, BIT, DATE, ENUM, NO, TEXT, TIME, TIMESTAMP

That doesn't mean they aren't keywords -- and they are poor choices for column names.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.