473,398 Members | 2,525 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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 1528
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*****@discussions.microsoft.com> wrote in message
news:D6**********************************@microsof t.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*****@discussions.microsoft.com> wrote in message
news:D6**********************************@microsof t.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*****@discussions.microsoft.com> wrote in message
news:A8**********************************@microsof t.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*****@discussions.microsoft.com> wrote in message
news:D6**********************************@microsof t.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
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 *$#@%§&*...
5
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...
4
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...
5
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...
41
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...
12
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...
6
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...
1
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...
11
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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,...
0
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...

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.