Solved

Max Identifier length in MS SQL Server 6.5

Posted on 2001-07-20
1
407 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 50 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 learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

695 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