About 203,000 results
Open links in new tab
  1. how does a SQL query work? - Stack Overflow

    A SQL query is different from a program in that it does not say HOW to do something, just WHAT THE RESULT IS. Set based logic. So you get a query analyzer in (depending on product bad …

  2. sql - Not equal <> != operator on NULL - Stack Overflow

    Apr 14, 2011 · All standards-compliant SQL dialects work the same way. Note: To compare if your value is not null, you use IS NOT NULL, while to compare with not null value, you use <> …

  3. How do SQL EXISTS statements work? - Stack Overflow

    The database engine does not have to run the subquery entirely. If a single record is matched, the EXISTS operator returns true, and the associated other query row is selected. The inner …

  4. .net - How does SqlBulkCopy Work - Stack Overflow

    Nov 27, 2013 · Does the SqlBulkCopy create a data file? I would like to understand this stuff to work out whether I can use the bulk insert functionality in SQL. If I write a SQL statement that …

  5. SQL MAX function in non-numeric columns - Stack Overflow

    Sep 1, 2013 · However, I have a problem to understand how does it work in case of non-numeric columns. My problems originates from this exercise (on sql-ex.ru) Find out makers who …

  6. sql - How does database indexing work? - Stack Overflow

    Given that indexing is so important as your data set increases in size, can someone explain how indexing works at a database-agnostic level? For information on queries to index a field, check …

  7. How does 'LIMIT' parameter work in sql? - Stack Overflow

    I have 4000 rows for example, and I define X limit. The query stops after it finds X rows? or the query finds all the rows and then takes X rows from the found rows? Thank you.

  8. sql - NOT IN vs NOT EXISTS - Stack Overflow

    15 I have a table which has about 120,000 records and need to select only those which does not exist (matched with a varchar column) in four other tables with number of rows approx 1500, …

  9. Execution order of WHEN clauses in a CASE statement

    Jul 2, 2014 · Then I read statements like ' SQL is a declarative language, meaning that it tells the SQL engine what to do, not how ' in Order Of Execution of the SQL query and wonder if this …

  10. sql server - LIMIT not working in SQL - Stack Overflow

    Mar 5, 2017 · In my below Query: Select * from DimCustomer order by MiddleName desc LIMIT 5 Getting below error: Msg 102, Level 15, State 1, Line 3 Incorrect syntax near 'LIMIT'.