all groups > sql server new users > february 2007 >
You're in the

sql server new users

group:

my sql2005 do not support the XML datatype!!


my sql2005 do not support the XML datatype!! leobowee
2/27/2007 12:00:00 AM
sql server new users:
I made the querry like this below:

DECLARE @doc xml
SELECT @doc = '£¼Team name="Braves" /£¾'

but the SQL2005 told me that he can not find the XML datetype!

I am appriciate if someone so kind to help me!Thanks!

Re: my sql2005 do not support the XML datatype!! David Markle
2/27/2007 12:00:00 AM
Also, a lot of new users sometimes confuse the tools with the server.
Next time you're connected, Steve, run these commands which will tell
you which version you're really working with, along with the
compatibility level that Bob talks about:

SELECT @@VERSION;

SELECT name, compatibility_level FROM sys.databases
WHERE name = '<MYDBNAME>'





[quoted text, click to view]
Re: my sql2005 do not support the XML datatype!! Bob Simms
2/27/2007 6:47:27 AM
[quoted text, click to view]
Go to the properties of your database and check the compatability level. It
should be 90(sql 2005). If it was converted from a previous version of SQL
Server it may well have the compatability level set too low for xml
datatypes.

Re: my sql2005 do not support the XML datatype!! leobowee
3/1/2007 12:00:00 AM

Thank you,David Markle.
I have execed that command,the real version of my sql connection is sql8.0.
Then I instilled sql9.0 Database Server Engine,and now I can use the newest
technology!

AddThis Social Bookmark Button