Solved

Sql Access

Posted on 2001-09-13
4
137 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses
Course of the Month5 days, 15 hours left to enroll

627 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