Viewing 15 posts - 616 through 630 (of 5,841 total)
All kinds of issues here:
1) I assume this is testing BEFORE upgrading, right? That way you don't have production issues that could have been avoided. It irks me to no...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
November 22, 2016 at 11:42 am
carl.thompson (11/22/2016)
Thank you for your reply.
That makes perfect sense and I think confirmed what we thought to be the reason for the inclusion in the function. Can...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
November 22, 2016 at 6:38 am
What, exactly, do you need to do with the data returned that makes you not want the column names?
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
November 21, 2016 at 1:34 pm
Is your app telling your queries to parameterize, i.e. do they look like this in Profiler:
exec sp_executesql ...
If they do and you default everything this is what will happen -...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
November 19, 2016 at 11:16 am
You are worried about the wrong thing. Setting MAXDOP to number of physical cores in a NUMA node is more for attempting to ensure you maximize local memory access and...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
November 18, 2016 at 6:23 am
IIRC, HASHBYTES isn't very good for your purposes. I think Thomas Kejser did a very good analysis of various mechanisms for computing unique "checksum" type values. You should be able...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
November 18, 2016 at 6:21 am
Assuming you can guarantee that that 1-1000 update actually made it into the table with the trigger on it then the most likely scenario I can think of by far...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
November 17, 2016 at 7:31 pm
Take a look at Ola Hallengren's maintenance suite. I don't think it can do all you are looking for, but a) you should be using it anyway and b) you...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
November 17, 2016 at 7:29 pm
Sioban Krzywicki (11/17/2016)
TheSQLGuru (11/17/2016)
Anytime code works sometime and not others you need to take a REALLY close look at the logic...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
November 17, 2016 at 9:52 am
This isn't a SQL Server related problem, and we don't have access to your source code in any case. Post up on an appropriate forum. Or come up with a...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
November 17, 2016 at 9:45 am
If there isn't some correlation between the tables just declare variables, get the max of each table separately then do a single query where id > max of other??
May...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
November 17, 2016 at 9:31 am
Need quite a bit more detail here to help.
Anytime code works sometime and not others you need to take a REALLY close look at the logic and especially conditionals/predicates...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
November 17, 2016 at 9:29 am
Most likely issue, other than you just coded things poorly, is security stuff.
What error is your process throwing if any? Is it running and doing nothing? Is the job...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
November 17, 2016 at 9:26 am
Can't dig into it right now, but something tickles the back of my mind that you may be able to do this with just the CASE statement without the MAX/GROUP...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
November 17, 2016 at 7:50 am
sindhupavani123 (11/17/2016)
I have following data , numbers recruited/applied for a particular office, and would like to find the difference between previous and current year and their percentage increase or decrease.
Mentioned...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
November 17, 2016 at 7:07 am
Viewing 15 posts - 616 through 630 (of 5,841 total)