About 2,730,000 results
Open links in new tab
  1. How to calculate percentage with a SQL statement

    Due to precedence of SQL statements it will be the same. however, due to data types if using 100 you can still get the result rounded to 0 decimals you desire for the % where as if you put it …

  2. sql - Exclude a column using SELECT * [except columnA] FROM …

    We all know that to select all columns from a table, we can use SELECT * FROM tableA Is there a way to exclude column(s) from a table without specifying all the columns? SELECT * [except …

  3. What is the use of the square brackets [] in sql statements?

    The Microsoft book for SQL course says "You should use two-part names to refer to tables in SQL Server databases, such as Sales.Customer" so they don't ask to surround namespace with …

  4. How to select unique records by SQL - Stack Overflow

    How to select unique records by SQL Asked 16 years ago Modified 1 year, 10 months ago Viewed 746k times

  5. SQL Server String or binary data would be truncated

    SQL Server 2017 CU12 also supports this feature. Improvement: Optional replacement for "String or binary data would be truncated" message with extended information in SQL Server 2017 …

  6. List of special characters for SQL LIKE clause - Stack Overflow

    150 What is the complete list of all special characters for a SQL (I'm interested in SQL Server but other's would be good too) LIKE clause? E.g.

  7. sql - Condition within JOIN or WHERE - Stack Overflow

    In "SQL Performance Tuning" by Peter Gulutzan and Trudy Pelzer, they tested multiple brands of RDBMS and found no performance difference. I prefer to keep join conditions separate from …

  8. sql - How do I remove the first characters of a specific column in a ...

    In SQL, how can I remove the first 4 characters of values of a specific column in a table? Column name is Student Code and an example value is ABCD123Stu1231. I want ...

  9. sql - Delete duplicate rows keeping the first row - Stack Overflow

    10 To delete the duplicate rows from the table in SQL Server, you follow these steps: Find duplicate rows using GROUP BY clause or ROW_NUMBER () function. Use DELETE …

  10. SQL WHERE.. IN clause multiple columns - Stack Overflow

    SELECT * FROM table1 WHERE (CM_PLAN_ID, Individual_ID) IN ( SELECT CM_PLAN_ID, Individual_ID FROM CRM_VCM_CURRENT_LEAD_STATUS WHERE Lead_Key = …