Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

try first_name last_name

 

but got to say that using spaces in the field names in not proper to do. it definetely should not be done. for the obvious reason

Live as if you were to die tomorrow. Learn as if you were to live forever.
Gandhi
Posted

SELECT employee.[first name], employee.[last name], stats.sales, stats.refusals, stats.dns from stats,employee where stats.[employee number] = employee.[employee number]

 

This is the proper structure. I figured it out.

 

Yea I dont think underscore would work; simply because the program would have no way of knowing if the are underscores in the field name or spaces.

www.DRSTEIN99.com www.RAIDGEAR.net www.THERE.com -> Tell them DrStein99 sent ya!
Posted

Thanks for the advice. Unfortunately, some things are out of my control. Often I'm assigned to make changes or alterations to existing code, setup in a certain fashion.

 

Had changing the field names been an option, I would have to change over the rest of the company's pre-existing programs that rely on those field names to be in that fashion: which is creating way more work then finding out how to deal with spaces in field names.

www.DRSTEIN99.com www.RAIDGEAR.net www.THERE.com -> Tell them DrStein99 sent ya!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...