Inline Variable Assignment in SQL Server 2008

By [)ia6l0 iii

You can now do the inline variable assignment in SQL Server 2008.

The syntax is as below: Yes, every .net developer would love this.

DECLARE @myFirstIntVariable int = 19

Related FAQs

Have you had a look at the Row Constructor in SQL Server 2008?
The compound operator in SQL Server 2008 offers the simpler syntax which all developers looked for.
Inline Variable Assignment in SQL Server 2008  (799 Views)