Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stored Procedure Silly bug...help !

Status
Not open for further replies.

fixthebug2003

Programmer
Oct 20, 2003
294
US
I keep getting this stupid error in MS Sql Server, where I am developing a Srored procedure!
When I press the "Check Syntax" Button..it says

"Error 156: The Identifier that starts with '.select stmt...' is too long. Maximum length is 128".


I see the same stored procedure in another database, and it is fine.!

Fixthebug2003
 
Fix,

The "identifier" refers to a table name. You have a glitch somewhere in the code that makes SQL think a piece of the code is an object name. Check your dot notation, etc.


HTH,

Phil Hegedusich
Senior Web Developer
IIMAK
-----------
Boy howdy, my Liberal Studies degree really prepared me for this....
 
its the period at tbe begining of tbe select statment that is causing the issue ... '.select stmt...'. Remove the initial period and all should be fine.


J. Kusch
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top