You are here: Re: The identifier that starts with...is too long. Maximum length is 128 « MsSQL Server « IT news, forums, messages
Re: The identifier that starts with...is too long. Maximum length is 128

Posted by Dan Guzman on 06/23/06 11:26

Try removing the double quotes around the statement:

EXECUTE dbname.dbo.spGid
'KFT',
'0000000011,0000000012',
'merch,DSMT',
'2006-02-01 00:00:00',
'2006-02-28 00:00:00'

You might also consider passing date strings in format yyyymmdd so that it's
independent of the DATEFORMAT setting.

EXECUTE dbname.dbo.spGid
'KFT',
'0000000011,0000000012',
'merch,DSMT',
'20060201 00:00:00',
'20060228 00:00:00'


--
Hope this helps.

Dan Guzman
SQL Server MVP

"Pedro" <p_costa@sapo.pt> wrote in message
news:1151059100.954015.291360@c74g2000cwc.googlegroups.com...
> Hi, i'm trying to run a stored procedure:
>
> "EXECUTE dbname.dbo.spGid 'KFT', '0000000011,0000000012', 'merch,DSMT',
> '2006-02-01 00:00:00', '2006-02-28 00:00:00'"
>
> and gives me this error:
>
> The identifier that starts with
> "EXECUTE dbname.dbo.spGid 'KFT', '0000000011,0000000012', 'merch,DSMT',
> '2006-02-01 00:00:00', '2006-02-28 00:00:00'"
>
> is too long. Maximum length is 128.
>
> Anyone could help?
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация