Solved

Sql Access

Posted on 2001-09-13
4
130 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:mnasman
Comment Utility
select * from table1.[field 1]
0
 
LVL 27

Expert Comment

by:kretzschmar
Comment Utility
try this

select "Field 1" from TheTable

meikl ;-)
0
 
LVL 22

Accepted Solution

by:
mnasman earned 10 total points
Comment Utility
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
Comment Utility
so , why do i get error on
 INSERT INTO Table1([Field 2]) VALUES ('1')
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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 Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now