Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set default value for field?
Message
 
To
10/08/2003 14:42:51
Keith Payne
Technical Marketing Solutions
Florida, United States
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
00818645
Message ID:
00818768
Views:
23
>The second example shows how to assign a scalar value from a query, similar to what SqlCommand.ExecuteScalar() does in .NET.

Oh, so then instead of this:
[SELECT [@var1 = CompanyName] FROM Customers WHERE CustomerID = 'ALFKA']
it's doing something like this:
[SELECT @var1 = [CompanyName FROM Customers WHERE CustomerID = 'ALFKA']]
Correct?

Read about the greatest fraud in the history of mankind.
See TaxableIncome.net.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform