About 50 results
Open links in new tab
  1. Finding duplicates - CROSS APPLY vs ROW_NUMBER vs other …

    May 21, 2020 · The idea is to mark all extra dups with some flag leaving one row unmarked. Do you suggest to add something like string_aggregate into the query to get all possible duplicate IDs? In …

  2. Ole DB Source slow while using parameter mapping on huge database

    Sep 17, 2013 · Is the query against a SQL database or Access database? If you are querying a Access database, the issue seems to be the known issue Parameterized Queries with JET OLE DB Provider …

  3. SSRS and Large Oracle Dataset with Read-Only

    Apr 6, 2012 · My SQL experience is advanced plus, so my query is as optimized as possible using all the typical optimization techniques. The query is painfully slow when running in DbVis) when …

  4. Reg:THREADPOOL Wait Type.. - social.msdn.microsoft.com

    Oct 1, 2018 · On SQL 2016 and later, Query Store is a great asset. On earlier versions, sys.dm_exec_query_stats can help, but data may also have to be collected by Trace or Extended …

  5. How to create SSIS package dynamically for inserting data from flat ...

    Oct 22, 2015 · Something like read the first row i.e. header of the csv file and build the dyanic query which would have the table script with columns from csv file. You would have to assume default …

  6. how to improve subquery performance? - social.msdn.microsoft.com

    Apr 29, 2011 · Query optimization starts with the WHERE clause. Never return more rows than your end user actually needs. • Always use an explicit column list; do not use SELECT * queries. With an …

  7. How to create a BIT datatype column in a table

    Dec 14, 2012 · Question 0 Sign in to vote Hi Friends I want to create a table with a column datatype Boolean (1=Yes, 0=No, Null=Not Known) how to write a create query for this, how does sql …

  8. how to escape Single Quotes in replace statement

    Jul 4, 2018 · Solution what I know is to replace all single quotes with 2 single quotes but i want a dynamic query to replace single quoted with 2 single quotes in this string.

  9. TSQL Date Greater than or equal to today less 5 days

    Nov 5, 2009 · I previously requested assistance to be able to call all records that are greater than or equal to the beginning of the current month, the response was very helpful, although I realised it …

  10. Query tables from 2 different servers - social.msdn.microsoft.com

    Jun 17, 2010 · I have 2 sql databases on 2 different servers and i have to compare data from the tables in both servers (sql query). What is the best method of doing this? Thanks Sunday, June 13, 2010 …