T-SQL is nice. But I need a more flexible scripting language in Sql Server like javascript.
Can anyone help?
T-SQL is nice. But I need a more flexible scripting language in Sql Server like javascript.
Can anyone help?
You can try looking at CLR in SQL Server.
You can use any .NET language and import assemblies to SQL server, using the public functions in those assemblies.
You may even have success with this using javascript that compiles to CLR (see this SO question on that subject).
I'm not sure what development set up you have but you could look at using CLR stored procs. These give you the ability to use c# to code your stored procedures.
Just google CLR stored procedures and that should bring back plenty of info.