SQL Tip: Using Union instead of OR

แชร์
ฝัง

ความคิดเห็น • 4

  • @USA_to_Asia_in_2024
    @USA_to_Asia_in_2024 7 หลายเดือนก่อน +1

    Thank you Bro.

    • @sqlanswers
      @sqlanswers  7 หลายเดือนก่อน

      You're welcome!

  • @aqilzamani6924
    @aqilzamani6924 8 หลายเดือนก่อน +2

    thank you , it was very nice for tunning or in where clauses.
    i am new to oracle is there similar thing like
    set statistics io , time on
    and execution plan to analize in oracle ?

    • @sqlanswers
      @sqlanswers  8 หลายเดือนก่อน +1

      Yes, Oracle does have something similar called autotrace. You enable in SQL Plus with "SET AUTOTRACE ON". The key metric I look at is named consistent gets. You can associate consistent gets with Logical Reads in SQL Server. Autotrace will also provide query plan information.