dbTalk Databases Forums  

Use SQL 2005 sqlcmd on a SQL 2008 server?

microsoft.public.sqlserver.tools microsoft.public.sqlserver.tools


Discuss Use SQL 2005 sqlcmd on a SQL 2008 server? in the microsoft.public.sqlserver.tools forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Use SQL 2005 sqlcmd on a SQL 2008 server? - 09-25-2008 , 04:57 PM






Rick Byham, (MSFT) (rickbyh (AT) REDMOND (DOT) CORP.MICROSOFT.COM) writes:
Quote:
As long as you stay away from SQL Server 2008 features like spatial and
hierarchy data types.
Actually, spatial and hierarchyid should not make any difference, since
they are CLR types and just binary values as far as SQLCMD is concerned.

New native types like date etc are another matter, but since all you do
is to receive values, there is no big issue. SQL Server will return
the values as strings instead as the native values.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #22  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Use SQL 2005 sqlcmd on a SQL 2008 server? - 09-25-2008 , 04:57 PM






Rick Byham, (MSFT) (rickbyh (AT) REDMOND (DOT) CORP.MICROSOFT.COM) writes:
Quote:
As long as you stay away from SQL Server 2008 features like spatial and
hierarchy data types.
Actually, spatial and hierarchyid should not make any difference, since
they are CLR types and just binary values as far as SQLCMD is concerned.

New native types like date etc are another matter, but since all you do
is to receive values, there is no big issue. SQL Server will return
the values as strings instead as the native values.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #23  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Use SQL 2005 sqlcmd on a SQL 2008 server? - 09-25-2008 , 04:57 PM



Rick Byham, (MSFT) (rickbyh (AT) REDMOND (DOT) CORP.MICROSOFT.COM) writes:
Quote:
As long as you stay away from SQL Server 2008 features like spatial and
hierarchy data types.
Actually, spatial and hierarchyid should not make any difference, since
they are CLR types and just binary values as far as SQLCMD is concerned.

New native types like date etc are another matter, but since all you do
is to receive values, there is no big issue. SQL Server will return
the values as strings instead as the native values.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #24  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Use SQL 2005 sqlcmd on a SQL 2008 server? - 09-25-2008 , 04:57 PM



Rick Byham, (MSFT) (rickbyh (AT) REDMOND (DOT) CORP.MICROSOFT.COM) writes:
Quote:
As long as you stay away from SQL Server 2008 features like spatial and
hierarchy data types.
Actually, spatial and hierarchyid should not make any difference, since
they are CLR types and just binary values as far as SQLCMD is concerned.

New native types like date etc are another matter, but since all you do
is to receive values, there is no big issue. SQL Server will return
the values as strings instead as the native values.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #25  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Use SQL 2005 sqlcmd on a SQL 2008 server? - 09-25-2008 , 04:57 PM



Rick Byham, (MSFT) (rickbyh (AT) REDMOND (DOT) CORP.MICROSOFT.COM) writes:
Quote:
As long as you stay away from SQL Server 2008 features like spatial and
hierarchy data types.
Actually, spatial and hierarchyid should not make any difference, since
they are CLR types and just binary values as far as SQLCMD is concerned.

New native types like date etc are another matter, but since all you do
is to receive values, there is no big issue. SQL Server will return
the values as strings instead as the native values.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #26  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Use SQL 2005 sqlcmd on a SQL 2008 server? - 09-25-2008 , 04:57 PM



Rick Byham, (MSFT) (rickbyh (AT) REDMOND (DOT) CORP.MICROSOFT.COM) writes:
Quote:
As long as you stay away from SQL Server 2008 features like spatial and
hierarchy data types.
Actually, spatial and hierarchyid should not make any difference, since
they are CLR types and just binary values as far as SQLCMD is concerned.

New native types like date etc are another matter, but since all you do
is to receive values, there is no big issue. SQL Server will return
the values as strings instead as the native values.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #27  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Use SQL 2005 sqlcmd on a SQL 2008 server? - 09-25-2008 , 04:57 PM



Rick Byham, (MSFT) (rickbyh (AT) REDMOND (DOT) CORP.MICROSOFT.COM) writes:
Quote:
As long as you stay away from SQL Server 2008 features like spatial and
hierarchy data types.
Actually, spatial and hierarchyid should not make any difference, since
they are CLR types and just binary values as far as SQLCMD is concerned.

New native types like date etc are another matter, but since all you do
is to receive values, there is no big issue. SQL Server will return
the values as strings instead as the native values.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
  #28  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: Use SQL 2005 sqlcmd on a SQL 2008 server? - 09-25-2008 , 04:57 PM



Rick Byham, (MSFT) (rickbyh (AT) REDMOND (DOT) CORP.MICROSOFT.COM) writes:
Quote:
As long as you stay away from SQL Server 2008 features like spatial and
hierarchy data types.
Actually, spatial and hierarchyid should not make any difference, since
they are CLR types and just binary values as far as SQLCMD is concerned.

New native types like date etc are another matter, but since all you do
is to receive values, there is no big issue. SQL Server will return
the values as strings instead as the native values.

--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinf...ons/books.mspx



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.