Solved

Sql Access

Posted on 2001-09-13
4
135 Views
Last Modified: 2010-04-06
how do i write query with fields that has blank in the name

for example

There is field named "Field 1"

select * from Table1.Field 1  --- ??








0
Comment
Question by:asi
  • 2
4 Comments
 
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 6478856
select * from table1.[field 1]
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 6478860
try this

select "Field 1" from TheTable

meikl ;-)
0
 
LVL 22

Accepted Solution

by:
Mohammed Nasman earned 10 total points
ID: 6478876
oppps, i wrote it like the way you wrote ur statment and that was wrong

if you are using access database put the field between []

select [field 1] from table

for other database use Meikl comment
0
 

Author Comment

by:asi
ID: 6482308
so , why do i get error on
 INSERT INTO Table1([Field 2]) VALUES ('1')
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help on project with Soap 10 61
Delphi and Access based Enumeration 9 77
How to load 2 images in same column in Delphi 2 67
Firemonkey BASS_Init into a thread 17 50
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question