Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Oracle to SQL Server Code Conversion

Status
Not open for further replies.

nljoco

Programmer
Dec 10, 2001
6
US
How will convert the following Oracle statement into an SQL Server?

TYPE array_of_double IS VARRAY(10) OF DOUBLE PRECISION;
 
I think you could use...

DECLARE @ArrayOfDouble table(myDouble real)

If using a table variable would satisfy your needs. This is only currently in SQL Server 2000.
I started out with nothing, and I still have most of it.
 

SQL Server currently has no array variables. Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
But if you're running SQL Server 2000 you could use a table variable to simulate a 2 dimensional array. I started out with nothing, and I still have most of it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top