tags:

views:

116

answers:

3

Hi all,

Microsoft Ajax Library has added full object orientation to JavaScript. Is there any library, framework, component, package, etc equivalent for T-SQL? It would be very nice to write object oriented SQL scripts in MS SQL Server.

Cheers, afsharm

+2  A: 

SQL Server, like other RDBMSs, doesn't come in an object flavor. Sorry.

These days this problem is solved on the application end through the use of ORM (object-relational mapping) frameworks. Options depend on what development platform you're using. For .NET, take a look at Microsoft's Entity Framework and SubSonic.

David Lively
A: 

LINQ - kind of...

Ralph Stevens
But, I'm going to use just SQL Server not VS or csc.exe or any compilations.
afsharm
+1  A: 

Closest thing I can think of is SQL CLR.

Otherwise there is no OO scripting support in MSSQL.

devio