Jump to content
xisto Community
Sign in to follow this  
eskimmer

Can Database Column Names Start With A Number? Can database column names start with a number?

Recommended Posts

Can database column names start with a number or must they start with a letter like php vars? Like my_table.1fieldname ?Does this vary from db system to db system? Is it considered good/bad form?

Share this post


Link to post
Share on other sites

It'd probably be better to put the number at the end like fieldname1 instead of putting the number at the beginning. I don't know if it will even let you put the number at the beginning but it's probably easier to put it at the end plus when you go to say it you generally would put it at the end.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.