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. Inserting spaces into TABLE creation

Inserting spaces into TABLE creation

Scheduled Pinned Locked Moved Database
data-structures
2 Posts 2 Posters 0 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.
  • J Offline
    J Offline
    Jose Luis Sogorb
    wrote on last edited by
    #1

    Is it possible to include spaces when you create a table sSql="CREATE TABLE Graph (Date TEXT, Hour NUMBER,Temp_ºC NUMBER)"; For instance: Temp ºC instead of Temp_ºC Thanks

    P 1 Reply Last reply
    0
    • J Jose Luis Sogorb

      Is it possible to include spaces when you create a table sSql="CREATE TABLE Graph (Date TEXT, Hour NUMBER,Temp_ºC NUMBER)"; For instance: Temp ºC instead of Temp_ºC Thanks

      P Offline
      P Offline
      Paul Watson
      wrote on last edited by
      #2

      José Luis Sogorb wrote: sSql="CREATE TABLE Graph (Date TEXT, Hour NUMBER,Temp_ºC NUMBER)"; For instance: Temp ºC instead of Temp_ºC Yes, enclose the "invalid" table name with [ and ] e.g. sSql="CREATE TABLE Graph (Date TEXT, Hour NUMBER,**[Temp ºC]** NUMBER)"; Just also remember when you reference that table to put the [ and ] in. (You can use this technique for reserved table names as well, e.g. Order must be used as [Order].

      Paul Watson
      Bluegrass
      Cape Town, South Africa

      Ray Cassick wrote: Well I am not female, not gay and I am not Paul Watson

      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