Feedback:

Allow Index Hints in SQL by Ordinal or Tag

With Tdataset you can specify the index to use. You however can't do the same with Advantages SQL implementation as you can with others.

How to achieve this is up to your developers but it wouldn't be a bad idea to copy how it's done in other systems.

SELECT *
FROM tablename WITH (INDEX = 1)
WHERE Column1 = 'value'

OR

SELECT *
FROM tablename WITH (INDEX = tag)
WHERE Column1 = 'value'

3 votes
Vote 0 votes Vote Vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service

    You'll receive a confirmation email with a link to create a password (optional).

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    ahinsonahinson shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service

      You'll receive a confirmation email with a link to create a password (optional).

      Signed in as (Sign out)
      Submitting...

      Knowledge Base and Helpdesk