About 2,560 results
Open links in new tab
  1. CTE Tutorial - social.msdn.microsoft.com

    Oct 7, 2021 · Answers 0 Sign in to vote User-595703101 posted Hi Ruthless, I'll suggest you to read my tutorial on SQL CTE (Common Table Expression) in SQL Server where you will find …

  2. Extract Phone numbers from a line feed text column and show it in …

    Sep 8, 2014 · Now I need t-sql query to show above source data into 3 columns by extracting phone numbers from each line feed.. new t-sql query output should look like this...

  3. how to find the duplicate records in sql server

    Oct 3, 2012 · If this is not related to SSAS, post yoir question in the SSIS forum or the T-SQL forum for faster resposne.

  4. Microsoft Query cannot run SQL code with a T-SQL variables in it?

    Oct 17, 2011 · I am unable to use Microsoft Query to return data from a query that includes T-SQL variables. The weird thing is that Microsoft Query handles the data fine, but then has a …

  5. how to disconnect and clear the user in sys.sysprocesses?

    Mar 9, 2012 · Question 0 Sign in to vote SELECT db_name (dbid) as DatabaseName, count (dbid) as NoOfConnections, loginame as LoginName FROM sys.sysprocesses WHERE dbid > …

  6. identity/sequence based on another column's value

    Dec 28, 2012 · Does SQL Server have any built-in mechanism for populating a column with incrementing numeric values based on the value of another column? I think the best way to …

  7. MDX and SSRS in a T-SQL Stored Proc - social.msdn.microsoft.com

    May 31, 2017 · In your scenario, the MDX query runs fine in both SSMS and VS query designer, right?

  8. t-sql 2012-Update statement in merge does not work

    Jul 31, 2015 · In the following t-sql 2012 merge statement, the insert statement works but the update statement does not work. I know that is true since I looked at the results of the update …

  9. Enterprise t-sql Stored Procs against tables -vs- Views

    Sep 17, 2010 · Option 1 - Be sure to optimize your Database design so your application will only require at most 6 joins and used stored procs for queries using proper indexs to gain the most …

  10. syntax about T-SQL: there are multiple dots in database name

    Aug 2, 2017 · there are syntax errors happen near . , so if I change YJ.REC.HQ.DB to YJ then create database successfully.