Viewing 15 posts - 211 through 225 (of 388 total)
select OS.*
from #OLDSOURCE OS
inner join #NEWSOURCE NS on OS.CUSTOMERID = NS.CUSTOMERID and OS.CATEGORYCODE = NS.CATEGORYCODE
and OS. Startdate not between NS.startdate and isnull(endDate,'9999-12-31')
November 20, 2015 at 10:10 am
is Fc_hashbytes_sha1 a User defined Scalar function?
Also, do you need this?
WITH (INDEX(idx_unique_t_etl_xml_xref_uuid))
Also, this in a join condition cannot be good.
[FATCA_TDS].[Fc_hashbytes_sha1](UPPER(ISNULL(LTRIM(RTRIM(PARTY.source_code)), 'UNKNOWN') + '|' + ISNULL(LTRIM(RTRIM(PARTY.customer_number))
Is your collation such that you...
November 20, 2015 at 9:42 am
What would the expected results for this example be?
November 20, 2015 at 9:28 am
Here is a list.
Looks like they might compile the EndpointURL from bits in these queries.
SELECT
me.protocol_desc
, port
FROM
sys.database_mirroring_endpoints AS ME
...
November 18, 2015 at 11:33 am
Table definition?
Index definition?
November 18, 2015 at 10:46 am
Can you list the SQL services you have as well as whether they are running or not.
November 18, 2015 at 8:25 am
Jeff Moden (11/17/2015)
MadAdmin (11/10/2015)
Favorite Quotes:
"Has anyone ever told you that a query you have written runs too fast?" - Dwain Camps - 6 Mar 2014
Yes.
Because the DB was then able...
November 18, 2015 at 4:15 am
I see scalar UDF's in the where clause operating on a column and not a variable.
Convert the UDF to a TVF, then cross apply onto the TVF.
Not just any TVF,...
November 17, 2015 at 10:39 am
John Mitchell-245523 (11/17/2015)
The FROM needs to appear at the end of your column list.
He is using the old ansi-89 style joins.
SELECT
tm.task_id
FROM
task_mstr AS...
November 17, 2015 at 10:03 am
What are the Buffercount, maxtransfersize and blocksize you use when doing backups?
Maybe link the script that is run.
November 17, 2015 at 4:25 am
Why do you keep posting questions which ask others to do everything for you?
We'll help with specific questions, as long as you keep your side of the bargain and...
November 12, 2015 at 7:59 am
Before you go out and buy books, I would first recommend the stairways first.http://www.sqlservercentral.com/stairway/72399/
Then once you know enough, Gail's http://sqlinthewild.co.za/index.php/2011/11/11/sql-university-advanced-indexing-indexing-strategies/
Creating indexes is a multivariable mathematical problem in maximizing performance while...
November 12, 2015 at 6:00 am
Does the query bring back data?
Does the query bring back data when using a login and user that has the same access rights as the login and user that executes...
November 11, 2015 at 6:18 am
WWOHD.
What would Ola Hallengren do?
I think it would be a good idea to get the index optimise script from Ola.
Using that, you can run the index optimise script with logging...
November 11, 2015 at 6:01 am
Favorite Quotes:
"Has anyone ever told you that a query you have written runs too fast?" - Dwain Camps - 6 Mar 2014
Yes.
Because the DB was then able to successfully serve...
November 10, 2015 at 10:03 am
Viewing 15 posts - 211 through 225 (of 388 total)