Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Max Identifier length in MS SQL Server 6.5

Posted on 2001-07-20
1
Medium Priority
?
424 Views
Last Modified: 2012-05-04
Does anyone know if there is a limit on how many characters an identifier can be in MS SQL-Server 6.5? I'm working with SQL-Server 7 and some of the constraints ar getting quite long names like 40 or 50 characters. Will these work against SQL Server 6.5?

I seem to remember something about the maximum allowed length beeing shorter in version 6.5

Thansk for your help.
0
Comment
Question by:micja491
[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
1 Comment
 
LVL 7

Accepted Solution

by:
lozzamoore earned 200 total points
ID: 6301492
SQL 6.5 states that identifiers can be no longer than 30 characters.
There are also some other rules:
* may contain numbers, chars, and symbols
* must begin with a letter or underscore
* no spaces (unless quoted identifier)

Hope this helps.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

618 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