About 6,780 results
Open links in new tab
  1. Modifying sp_help_revlogin to replicate Logins

    Jun 25, 2020 · If you want to automate copying of logins, I don't see why you would run sp_help_revlogin from SSMS anyway. Seems better to run it from SQLCMD or a PowerShell …

  2. T-SQL Foreach in Foreach or How to achieve this?

    Mar 21, 2019 · Especially when I have to do a foreach in the foreach loop or said in SQL words CURSOR in CURSOR. Can you suggest me a an approach or how to deal with this …

  3. Setting COmboBox Record Source property to use a SQL Server …

    May 24, 2011 · In the second case, this SQL should be Jet SQL rather than native SQL Server T-SQL. So, if you want to invoke a stored procedure, you can't do this the second way. The only …

  4. Using Parameters in DMX - social.msdn.microsoft.com

    May 31, 2007 · In my case, this approach is specific to SSRS, which I suppose the OP didn't specify. In SSRS, I created a t-sql query accepting parameters from SSRS that just built the …

  5. T-SQL equivalent of Guid.Empty - social.msdn.microsoft.com

    Oct 7, 2021 · Your question was "what is the T-SQL equivalent of Guid.Empty". I added it using C# in order to find out, by doing what the T-SQL equivalent is. And it turned to be the intuitive …

  6. Convert Binary to Ascii - social.msdn.microsoft.com

    Dec 12, 2006 · In this case set the field to have a data source of a T-SQL statement. In that statement, perform a select of the field you're interested in, but apply the CONVERT () or …

  7. How to combine multiple tables from different databases using sql ...

    Sep 17, 2014 · I am beginner to Sql Server 2008 T-SQL. Please somebody help me in accomplishing tasks as listed below using sql scripts. I have 3 different databases on same sql …

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

    Jan 15, 2012 · Why do you require a converter here?. As far as I know SQLCMD also uses the same T-sql syntax. Can you post one sample query that you want to convert ?

  9. Restore Backup Of Live Database To UAT

    Oct 12, 2012 · You don't want to take the UAT database offline. SQL won't overwrite a database that has active connections therefore you need to make sure that the services for the UAT …

  10. SQL query to generate number with multiple of fixed numbers

    May 31, 2013 · Friday, July 27, 2012 1:22 AM 0 Sign in to vote Using Microsoft SQL Server T-SQL code, Generate a report with two columns: Column 1: contiguous integers from 1 - 102 …