About 18,500 results
Open links in new tab
  1. Incorrect Syntax near the keyword select , Incorrect Syntax near …

    Dec 26, 2019 · When asking SQL questions always share the table schema, data, and complete query. Explain or share the expected results. Lastly format your code before posting. …

  2. Combining two pivot tables and displaying the data

    Sep 11, 2007 · Tbl_User may contain more skill categories than those mentioned in Tbl_Request. So the output should reflect only those categories that are existing in tbl_Request. How can …

  3. Replace NULL Value In Date Field - social.msdn.microsoft.com

    Jul 2, 2014 · Like in Sql Server do we have a Replace function or ISNULL function which exactly works..

  4. Same query uses different execution plans on two different servers

    Apr 6, 2018 · It uses two totally different execution plans on the old and new servers. The new execution plan doesn't even know the underlining system table sys.sysrowsets for …

  5. ADSI AdsPath Substring Query - social.msdn.microsoft.com

    Mar 25, 2011 · I have a SQL view that queries a linked ADSI table to list users in our domain, I want to be able to pull only the third level OU out of the AdsPath field. To do so I use the …

  6. When one record does have null value in one column, the cursor …

    Dec 3, 2011 · Concatenation of NULL in a string may result in NULL string (see article below). The ISNULL function replaces NULL with and empty string. Related BOL article:

  7. how to update multiple columns where value is null in a single pass?

    Jul 11, 2019 · In one of our ETL procedures, I see a series of update statements performed against a single table. Each sets a column value to a blank string where it is currently null. Is …

  8. reuse select query result - social.msdn.microsoft.com

    Oct 7, 2021 · I have a SQL select query, it works fine as it is now.

  9. Full join and Null values - social.msdn.microsoft.com

    Oct 30, 2010 · SELECT ISNULL (tb1.name,tb2.name2) AS name, sum (tb1.sold ) over () AS total_sold,ISNULL (tb1.type,tb2.type) AS name FROM tb1 FULL JOIN tb2 ON …

  10. is there any TOOL to convert sql code to SQLCMD

    Jan 15, 2012 · Question 0 Sign in to vote is there any TOOL,function,stored procedure to convert sql code to SQLCMD like i put my code and it convert and print the code in format "SQLCMD" …