473,659 Members | 3,631 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Space in table name problem with .NET scripting

The table names in my database schema have spaces. When the .tab files are
created in Visual Studio, the constraint names do not have brackets around
them causing a syntax error.

Is there a setting to turn brackets on at all times? This is the only
situation where it is a problem, all other table name references in all other
scripts contain brackets.
Jul 21 '05 #1
3 1552
You should go back and rename the table names to not have spaces in them
(that's database design 101). Also, .NET doesn't use scripts. It is
compiled code.

"Oggdorf" <Og*****@discus sions.microsoft .com> wrote in message
news:D6******** *************** ***********@mic rosoft.com...
The table names in my database schema have spaces. When the .tab files
are
created in Visual Studio, the constraint names do not have brackets around
them causing a syntax error.

Is there a setting to turn brackets on at all times? This is the only
situation where it is a problem, all other table name references in all
other
scripts contain brackets.

Jul 21 '05 #2
Thanks for the reply, however I know what i'm doing and why. Neither the
criticism "(that's database design 101)", nor the ignorance ".NET doesn't use
scripts" assist me in resolving what appears to be a bug.

"Scott M." wrote:
You should go back and rename the table names to not have spaces in them
(that's database design 101). Also, .NET doesn't use scripts. It is
compiled code.

"Oggdorf" <Og*****@discus sions.microsoft .com> wrote in message
news:D6******** *************** ***********@mic rosoft.com...
The table names in my database schema have spaces. When the .tab files
are
created in Visual Studio, the constraint names do not have brackets around
them causing a syntax error.

Is there a setting to turn brackets on at all times? This is the only
situation where it is a problem, all other table name references in all
other
scripts contain brackets.


Jul 21 '05 #3
It's not criticism. It's good database design to not use spaces in the
table names. And, it was not criticism to tell you that you that .NET
isn't scripting.

Now, perhaps if you took a breath and gave us more information, we could
help you. You could start by telling us why your tables need to have spaces
in their names. Maybe we could suggest a work around. But the first piece
of advice you are going to get if you just tell us that the spaces in your
table names are causing problems it to solve the problem at the source.
"Oggdorf" <Og*****@discus sions.microsoft .com> wrote in message
news:A8******** *************** ***********@mic rosoft.com...
Thanks for the reply, however I know what i'm doing and why. Neither the
criticism "(that's database design 101)", nor the ignorance ".NET doesn't
use
scripts" assist me in resolving what appears to be a bug.

"Scott M." wrote:
You should go back and rename the table names to not have spaces in them
(that's database design 101). Also, .NET doesn't use scripts. It is
compiled code.

"Oggdorf" <Og*****@discus sions.microsoft .com> wrote in message
news:D6******** *************** ***********@mic rosoft.com...
> The table names in my database schema have spaces. When the .tab files
> are
> created in Visual Studio, the constraint names do not have brackets
> around
> them causing a syntax error.
>
> Is there a setting to turn brackets on at all times? This is the only
> situation where it is a problem, all other table name references in all
> other
> scripts contain brackets.


Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
6431
by: O.Gir | last post by:
Hi all, can't manage to do it ..... was so easy under solaris .... anybody knows how to get free disk space on remote disks ??? (with both local and remote *$#@%§&* machines running *$#@%§&* W$2000)
5
2760
by: Ken | last post by:
I currently have a set of documents in a directory that i need to list in a html table. Is there any way to generate the table with the documents listed instead of having to update the table manually everytime a new document is added to the list. Thanks Ken
4
7420
by: mappo | last post by:
There are about a million posts on how to get rid of the extra space _after_ the form end-tag, but I can't find any that solve my problem: extra space _in_ the form tag. I have a table nestled inside the form and since I want the submit button underneath the input text field i have a br tag to separate them. For some reason IE5.5 gives me what seems like two br tags. It looks good in Opera 7, and in K-Meleon 0.6 (Gecko).
5
3232
by: Ted Dawson | last post by:
I have a page that writes a hyperlink to files in a folder, but the hyperlink fails with the space in the filename. How can I strip out that space or replace with &nbsp; ? <%Dim objFSO Set objFSO = Server.CreateObject("Scripting.FileSystemObject") Dim objFolder Set objFolder = objFSO.GetFolder("C:\files\")
41
6086
by: Ruby Tuesday | last post by:
Hi, I was wondering if expert can give me some lite to convert my word table into access database. Note: within each cell of my word table(s), some has multi-line data in it. In addition, there is one row containing picture(s) as well. So far, what I did is doing it manually for each word docs I have. Select Table Convert Table to Text(I use ^ character for delimiter)
12
11000
by: New World Order Pigs | last post by:
Is there no way in .net to get disk space remaining for a given drive??? I can't believe it and yet is seems to be so. If someone knows of a way to do this in the .net libraries I'd be very much appreciative. Thanks, LT.
6
275
by: Oggdorf | last post by:
The table names in my database schema have spaces. When the .tab files are created in Visual Studio, the constraint names do not have brackets around them causing a syntax error. Is there a setting to turn brackets on at all times? This is the only situation where it is a problem, all other table name references in all other scripts contain brackets.
1
1856
by: ellenraju | last post by:
When we create an object in oracle we can specify table space, if not it will take default table space, while creating global temporary table how can we specify the table space...and even if we create temp table without mentioning table space where the structure of the temp table stored and when we are trying to insert data into it which table space it will use....? I faced one problem earlier that..I can describe the table but when iam...
11
12348
by: Mike Harrison | last post by:
Hi, I have some simple HTML like this: <div id="container" style="width:100%;"> <input type="text" <input type="button" style="float:right;" value="Click here..."> </div> I want the button to remain the normal size and be right-aligned, and the edit box to automatically take up the remaining width of the container.
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8337
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8531
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7359
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6181
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2754
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1978
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1739
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.