473,416 Members | 1,565 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,416 software developers and data experts.

SqlServer 2000 Enterprise Manager - Major Bug?

I had a problem today where I could not see column names and all
tables had a _1 after them when viewing a Sql Server view in
Enterprise Manager

e.g.

TableName Company when added to the view would be named Company_1 and
the only columns available were 1 which was *(All Columns)

After looking through the news groups I saw several occurrences of
this problem but no answers that gave a fix

After some investigation I found that it is caused when the database
name in SqlServer has a . in it!

Test1 >> Fine the view designer works fine

Test1.6 >> Problems as listed above

I don't see why Enterprise Manager allows database names with .'s if
it is going to create such problems.
Jul 20 '05 #1
1 1705

"bitunwise" <mc*****@jetcam.net> wrote in message
news:79**************************@posting.google.c om...
I had a problem today where I could not see column names and all
tables had a _1 after them when viewing a Sql Server view in
Enterprise Manager

e.g.

TableName Company when added to the view would be named Company_1 and
the only columns available were 1 which was *(All Columns)

After looking through the news groups I saw several occurrences of
this problem but no answers that gave a fix

After some investigation I found that it is caused when the database
name in SqlServer has a . in it!

Test1 >> Fine the view designer works fine

Test1.6 >> Problems as listed above

I don't see why Enterprise Manager allows database names with .'s if
it is going to create such problems.


This is a documented bug:

http://support.microsoft.com/default...&Product=sql2k

It would probably be best to avoid using unusual characters in database
names, and especially full stops/periods. Since . is used in MSSQL to
separate parts of object names, there is obvious potential for confusion,
and you will have to quote the database name to use it in code anyway.

Many people prefer to use Query Analyzer for all object creation and
programming, as it is a very 'direct' interface to MSSQL, so problems are
more immediately obvious. For example, an error is raised in QA:

create database Test1.6

Server: Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near '.6'.

Enterprise Manager is presumably adding brackets behind the scenes - you see
Test1.6, but what EM actually executes is this:

create database [Test1.6]

See "Delimited Identifiers" in Books Online for more information.

Simon
Jul 20 '05 #2

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

Similar topics

3
by: Peter Morris | last post by:
What's the deal with SQLServer 2005 Beta? I've just got a magazine with a free cover disk with VB 2005 beta, and also includes SQLServer 2005. I've installed it, but I can't get it to do...
48
by: ik | last post by:
ERROR after uninstalling SQL Server 2005 Express I get this message, SQLDMO has not been registered. Please re-run your setupand contact your system administrator. GREAT!!! ReInstalled SQL...
4
by: wardellcastles | last post by:
I am running SQLServer 2000 SP3 with MDAC 2.8. On instances created via MSDE, I am unable to create the first step in a job. Instances created with SQLServer 2000, this problem does not occur....
3
by: Devonish | last post by:
I am planning to convert an existing Access database which has a back end (data tables and relationships only) on a server and a copy of the front end (form, queries, reports) on each of about a...
11
by: Patrick | last post by:
I have an ASP.NET application that connects to a SQL Server database. The SQL Server resides on a seperate development server from the IIS5.1 on Windows XP SP2 on development PCs which host the...
0
by: Audrey Pratt | last post by:
Happy Holidays to you and allow us to play Santa this year with these awsome deals that in anyway you can refuse: 2000 Web Templates for only $18.00 (Savings Over $1,000.00) ...
2
by: C.O.Jones | last post by:
I've previously used version 7 and 2000. I've recently started to learn ASP.net. I've installed Visual Web Developer 2005 Express and this includes SQLServer 2005 in the installation. The task...
1
by: powersof2 | last post by:
Hello, I need some help with SQL Server 2000 SP4. I've been using the developer product for a few years now on my PC with very few problems. Today when I try to start up Enterprise Manager, it...
1
by: Alex | last post by:
Hi Everyone, Most of our MS SQL Servers are still running on SQL 2000, but being I will soon be upgrading my workstation to Vista Business I'd like to install MS SQL 2005 Enterprise Manager to...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.