Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimisation as per execution plan
Message
From
27/10/2011 20:41:54
 
General information
Forum:
Microsoft SQL Server
Category:
Indexing
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01526170
Message ID:
01527503
Views:
24
>I have this query
>
>
>....
>left outer join dbo.accounts a on a.acct_name = t.acct_name
>			left outer join dbo.transact r WITH (index = sale_no) on r.sale_no = t.sale_no
>
>
>Note the WITH (index = nameOfTheIndex)
>
>clause.

Thanks, is this SQL ANSI compliant? Also, does this syntax apply also to a WHERE clause?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform