About 1,800 results
Open links in new tab
  1. Converting Reserved Words to Upper Case

    Jun 25, 2008 · There are third party tools such as red gate sql prompt, that provides intellisence for t-sql that as you begin to type options are posted to the right in the appropriate case. Intellisence is …

  2. 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 problem …

  3. Where clause using CAST, TRIM, and Dateserial

    Nov 7, 2016 · Generally all the T-Sql functions can be used directly in Reporting Service dataset query designer. As in your scenario, you can use Cast () in the dataset query directly. But if you want to …

  4. 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 > 0 GROUP BY …

  5. 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 illustrate …

  6. 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?

  7. 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 statement:

  8. 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 performance …

  9. Insert Into OpenQuery to Oracle fails from a T-SQL trigger

    Mar 17, 2011 · However, when I use the same in a T-SQL after insert trigger which actually needs to do this job, "INSERT OPENQUERY (DBLink, 'SELECT fields FROM OraTab') SELECT fields FROM …

  10. Bridge Table T-SQL Performance Issue

    Mar 5, 2011 · I have this problematic T-sql statement in a Data Warehouse. The part that is causing problems is a where clause on a field in a dimension table that is linked to the fact table by a bridge …