Viewing 15 posts - 1,366 through 1,380 (of 5,841 total)
hemabalan (12/30/2015)
Heres another one. Using CTE I undestand we dont have to worry about storing and retrieving from tempdb. It works as we have the USING...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
December 31, 2015 at 7:59 am
mw112009 (12/30/2015)
Would you mind passing the SQL syntax please ? I am rather new to the SQL world.. Pardon my ignorance
You really need to provide us with full table definition...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
December 30, 2015 at 9:51 am
david.holley (12/29/2015)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
December 29, 2015 at 7:47 am
hemabalan (12/28/2015)
Hi I use lot of merge in my SPs. Never noticed performance issue. If you can provide substantial evi it will great
Binoogle search for the words merge bugs sql...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
December 29, 2015 at 7:17 am
Luis Cazares (12/28/2015)
Eric M Russell (12/28/2015)
TheSQLGuru (12/28/2015)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
December 28, 2015 at 11:31 am
Welsh Corgi (12/28/2015)
I'm only dealing with 50,,, records.
When I performed the archive I had a lookup table that stored the Batch Size etc.
Can...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
December 28, 2015 at 11:29 am
It actually isn't quite as easy as you probably think it is. There are at least 4 issues that can cause you pain:
1) locking/blocking
2) crushing your server (IO reads,...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
December 28, 2015 at 9:25 am
Ooh, another thing I will chime in with. Some of the WORST things I see done on SQL Server have nothing to do with the databases/applications they run - it...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
December 28, 2015 at 9:14 am
I have spent a large portion of my 20 years consulting on SQL Server doing tuning work in some fashion or another. The single worst thing I see in aggregate...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
December 27, 2015 at 10:54 am
Jason A. Long (12/25/2015)
TheSQLGuru (12/25/2015)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
December 25, 2015 at 2:35 pm
How about I do a remote presentation of my Common TSQL Mistakes session? I have presented it somewhere around 100 times now for companies, User Groups, SQL Saturdays and other...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
December 25, 2015 at 10:02 am
baiju krishnan (12/24/2015)
I want to write a stored procedure with if condition
i have two tables
Login
-------
uname|pword|active
-----------------------------
Lekshmi|baiju |0
Jain ...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
December 24, 2015 at 9:48 am
Yes, shrinking will be DEVASTATINGLY BAD due to the internal fragmentation it creates in all of your tables/indexes. Why can't you just leave the database the size it is? Is...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
December 23, 2015 at 6:36 pm
Hitting the clustered index is hitting ALL THE DATA for each seek/scan. Remember, the clustered PK IS the data at the leaf level of the index. All that is on...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
December 22, 2015 at 12:45 pm
Jeff Moden (12/22/2015)
TheSQLGuru (12/22/2015)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
December 22, 2015 at 12:43 pm
Viewing 15 posts - 1,366 through 1,380 (of 5,841 total)