SQL Server Errors or Failures from Error: 9303 to Error: 9323

SQLServerF1

 

Error: 9303, Severity: 16, %sSyntax error near ‘%ls’, expected ‘%ls’.
Error: 9304, Severity: 16, %sThis version of the server only supports XQuery version ‘1.0’.
Error: 9305, Severity: 16, %sOnly type names followed by ‘?’ are supported in the target of ‘instance of’.
Error: 9306, Severity: 16, %sThe target of ‘replace value of’ cannot be a union type, found ‘%ls’.
Error: 9308, Severity: 16, %sThe argument of ‘%ls’ must be of a single numeric primitive type or ‘http://www.w3.org/2004/07/xpath-datatypes#untypedAtomic’. Found argument of type ‘%ls’.

Error: 9309, Severity: 16, %sThe target of ‘replace value of’ cannot be ‘http://www.w3.org/2001/XMLSchema#anySimpleType’, found ‘%ls’.
Error: 9310, Severity: 16, %sThe ‘with’ clause of ‘replace value of’ cannot contain constructed XML.
Error: 9311, Severity: 16, %sHeterogeneous sequences are not allowed in ‘%ls’, found ‘%ls’ and ‘%ls’.
Error: 9312, Severity: 16, %s’%ls’ is not supported on simple typed or ‘http://www.w3.org/2001/XMLSchema#anyType’ elements, found ‘%ls’.
Error: 9313, Severity: 16, %sThis version of the server does not support multiple expressions or expressions mixed with strings in an attribute constructor.
Error: 9314, Severity: 16, %sCannot implicitly atomize or apply ‘fn:data()’ to complex content elements, found type ‘%ls’ within inferred type ‘%ls’.

Error: 9315, Severity: 16, %sOnly constant expressions are supported for the name expression of computed element and attribute constructors.
Error: 9316, Severity: 16, %sCannot use ‘xmlns’ in the name expression of computed attribute constructor.
Error: 9317, Severity: 16, %sSyntax error near ‘%ls’, expected string literal.
Error: 9318, Severity: 16, %sSyntax error at source character ‘0x%02x’ near ‘%ls’, expected string literal.
Error: 9319, Severity: 16, %sStatic simple type validation: Invalid simple type value ‘%ls’.
Error: 9320, Severity: 16, %sThe result of applying the ‘parent’ axis on the document node is statically ’empty’.
Error: 9321, Severity: 16, %sThe result of applying ‘parent::%ls’ is statically ’empty’.
Error: 9322, Severity: 16, %sTwo consecutive ‘-‘ can only appear in a comment constructor if they are used to close the comment (‘–>’).
Error: 9323, Severity: 16, %sUsing ‘:’ in variable names is not supported in this version of the server.

This is applicable on below versions of SQL Server

SQL Server 2005
SQL Server 2008 R2
SQL Server 2012
SQL Server 2014

Hope this was helpful.

Thanks,
SQLServerF1 Team
In-Depth Blogs on SQL Server, Information about SQL Server Conferences and Events, SQL Server Frequently asked questions, SQL Server Trainings.

 

Leave a Reply

Your email address will not be published. Required fields are marked *