Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. SELECT command

SELECT command

Scheduled Pinned Locked Moved Database
databasehelp
4 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Reality Strikes
    wrote on last edited by
    #1

    I have an access database with several fields........one of the field is having the field name as "Client#" in table Client_Table. When I'm using this SELECT stattement :

    "Select Client#, ClientName, ClientGender from Client_Table".

    It's displaying an error : "Syntax error in date in quesry expression 'Client#'". But when I'm not using "Client#" its displaying the other records properly. Thanks in anticipation.

    H 1 Reply Last reply
    0
    • R Reality Strikes

      I have an access database with several fields........one of the field is having the field name as "Client#" in table Client_Table. When I'm using this SELECT stattement :

      "Select Client#, ClientName, ClientGender from Client_Table".

      It's displaying an error : "Syntax error in date in quesry expression 'Client#'". But when I'm not using "Client#" its displaying the other records properly. Thanks in anticipation.

      H Offline
      H Offline
      Harvey Saayman
      wrote on last edited by
      #2

      is the column name actually "Client#"? if thats the case try this...

      SELECT [Client#], ClientName, ClientGender FROM Client_Table

      Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

      you.suck = (you.passion != Programming)

      R 1 Reply Last reply
      0
      • H Harvey Saayman

        is the column name actually "Client#"? if thats the case try this...

        SELECT [Client#], ClientName, ClientGender FROM Client_Table

        Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

        you.suck = (you.passion != Programming)

        R Offline
        R Offline
        Reality Strikes
        wrote on last edited by
        #3

        Many many THANKS for that..........it did worked..........thanks.

        H 1 Reply Last reply
        0
        • R Reality Strikes

          Many many THANKS for that..........it did worked..........thanks.

          H Offline
          H Offline
          Harvey Saayman
          wrote on last edited by
          #4

          Its a pleasure :)

          Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

          you.suck = (you.passion != Programming)

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups