|
Posted by Erland Sommarskog on 07/19/06 08:53
(billmiami2@netscape.net) writes:
> I selected the SQL Server 2000 option, but I'm still getting script
> that looks like it was made for SQL Server 2005. Are you able to make
> this work?
Yes. I did not actually try to run the script on SQL 2000, so there may
still be glitches. But I did get things like:
IF NOT EXISTS (SELECT * FROM dbo.sysobjects WHERE id =
OBJECT_ID(N'[dbo].[language_rule]') AND OBJECTPROPERTY(id, N'IsRule') = 1)
EXEC dbo.sp_executesql N'
CREATE RULE [dbo].[language_rule] AS @x IN (''E'', ''S'') OR @x IS NULL
'
GO
which it would not say on SQL 2005.
--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
[Back to original message]
|