This is a discussion on Cannot find data type xml within the SQL Server forums, part of the Microsoft SQL Server category; --> I am getting this error when running on my local instance of SQL server, but it is not an ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I am getting this error when running on my local instance of SQL server, but it is not an issue when running on our development SQL Server box. Code: --variable declarations declare @XmlDocument xml --2GB limit declare @docHandle int Msg 2715, Level 16, State 3, Line 14 Column or parameter #-1: Cannot find data type xml. Parameter '@XmlDocument' has an invalid data type. |
| |||
| The XML data type was added in SQL Server 2005. You need to make sure your local instance is SQL Server 2005/2008. If the database was upgraded, then you can check the compatibility level (under Database properties, Options) and make sure it is set to SQL Server 2005 (90) or SQL Server 2008 (100). -- Plamen Ratchev http://www.SQLStudio.com |
| ||||
| Thank you. I mistakenly connected to a SQL 2000 instance. On Sep 8, 11:33*am, Plamen Ratchev <Pla...@SQLStudio.com> wrote: > The XML data type was added in SQL Server 2005. You need to make sure > your local instance is SQL Server 2005/2008. If the database was > upgraded, then you can check the compatibility level (under Database > properties, Options) and make sure it is set to SQL Server 2005 (90) or > SQL Server 2008 (100). > > -- > Plamen Ratchevhttp://www.SQLStudio.com |
| Thread Tools | |
| Display Modes | |
|
|
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| find/nfsfind failure ..Value too large for defined data type.. | Jan Dreyer | Sun Managers | 1 | 06-29-2008 11:15 AM |
| Informix Serial Data type to Integer Data Type | Sarat | Informix | 11 | 04-20-2008 11:07 AM |
| Re: Informix Serial Data type to Integer Data Type | Jonathan Leffler | Informix | 0 | 04-20-2008 11:04 AM |
| RE: Informix Serial Data type to Integer Data Type | Savio Pinto \(s\) | Informix | 0 | 04-20-2008 11:04 AM |
| Index creation causes error "The conversion of a char data type to a datetime data type resulted..." | Amir | SQL Server | 1 | 02-29-2008 06:51 AM |