"Gert-Jan Strik" <sorry@toomuchspamalready.nl> wrote in message
news:46B0E3B6.EF4CF9DD@toomuchspamalready.nl...
> The version before SQL Server 2000 is SQL Server 7.0, and it returns the
> same error message:
>
> Server: Msg 170, Level 15, State 1, Line 4
> Line 4: Incorrect syntax near 'Size'.
>
>
> Gert-Jan
>
>
> WRH wrote:
>>
>> I could be mistaken. It is a large program and SQL routines
>> are only a small part of it. But SQL storage worked fine.
>> It may not have been SQL 2000 however...what was the standard
>> Microsoft SQL before 2000?
>>
>> This code definitely worked on a Microsoft SQL server!
>>
>> "Aaron Bertrand [SQL Server MVP]" <ten.xoc@dnartreb.noraa> wrote in
>> message
>> news:uQElhgE1HHA.5884@TK2MSFTNGP02.phx.gbl...
>> >I don't see how it could have, and I think you are mistaken. When I run
>> >that code in Query Analyzer against SQL Server 2000 I get:
>> >
>> > Server: Msg 170, Level 15, State 1, Line 4
>> > Line 4: Incorrect syntax near 'Size'.
>> >
>> > --
>> > Aaron Bertrand
>> > SQL Server MVP
>> >
>> >
>> >
>> >
>> >
>> > "WRH" <nospam@videotron.ca> wrote in message
>> > news:O2THIbE1HHA.1484@TK2MSFTNGP06.phx.gbl...
>> >> Yes. This code has worked very well for a number of years.
>> >> I am not knowledgeable about SQL, but I developed and
>> >> tested the code using SQL 2000.
>> >> In this string there are no comma's but there are CR/LF
>> >> after each parameter. Perhaps SQL 2000 accepted this
>> >> in lieu of commas.
>> >>
>> >>
>> >> CREATE TABLE Inbox
>> >> (
>> >> Msg varchar(200)
>> >> Size varchar(200)
>> >> Subject varchar(200)
>> >> Frm varchar(200)
>> >> Date varchar(200)
>> >> Body text
>> >> Too text
>> >> Dbst varchar(200)
>> >> Cc text
>> >> Bcc text
>> >> )
>> >>
>> >>
>> >>
>> >>
>> >> "ML" <ML@discussions.microsoft.com> wrote in message
>> >> news:3F6F686D-8C6B-411F-B08E-17DE688106FC@microsoft.com...
>> >>>> I will say however, that it has worked as is for several years
>> >>>> with SQL 2000.
>> >>>
>> >>> Are you absolutely sure? How have you verified that?
>> >>>
>> >>>
>> >>> ML
>> >>>
>> >>> ---
>> >>> Matija Lah, SQL Server MVP
>> >>>
http://milambda.blogspot.com/ >> >>
>> >>
>> >
>> >