|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Yesterday @ 11:58 AM
Points: 2,100,
Visits: 1,792
|
|
Great Article. It is interesting to note that this article came out on the 1 year anniversary of Chris's Article - Worst Practice - Not Qualifying Objects with the Owner.
Francis
|
|
|
|
|
UDP Broadcaster
      
Group: General Forum Members
Last Login: Saturday, February 28, 2009 6:51 AM
Points: 1,489,
Visits: 7
|
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Sunday, May 19, 2013 6:26 AM
Points: 271,
Visits: 97
|
|
Very good and interesting article  Thanx.
You must unlearn what You have learnt
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Yesterday @ 8:46 AM
Points: 2,750,
Visits: 1,410
|
|
Let us suppose that you develop on a case sensitive server and that development includes a substantial amount of data, that is, more than you would want to insert using INSERT statements and probably some binary data.
How would you deploy this to a case insensitive server?
I have had problems where a client has supplied me with a database backup for a completely different collation sequence to mine and my server refused to restore it.
LinkedIn Profile
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Friday, February 08, 2013 1:35 PM
Points: 25,
Visits: 21
|
|
Thanks Mr. Metcalf, every bit helps in keeping your performance in line. Yes, we have a high proportion too.
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, May 22, 2013 2:25 PM
Points: 29,
Visits: 272
|
|
Question (with apologies in advance for my ignorance): I use ADO in my app to execute the sproc. I create a command object with collection of parm objects standard (works with input and/or out parms). When I set the CommandText I do not fully qualify the sproc name. *This* is what the article is talking about, correct? I should set the CommandText to "dbo.spDoSomething" instead of just "spDoSomething". The real question is: the issue is the same if using ADO and not just in T-SQL, correct? The names (or case) of the members of the parms collection does not matter, although the order does.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Tuesday, May 21, 2013 11:00 PM
Points: 23,
Visits: 190
|
|
Thanks for the articles. However, when I run the same SP a couple times, I see a cache miss right after cache hit and the usecounts in syscacheobjects does increase. Everytimes I run the sp, a cachemiss will happen before the cache hit Could you explain? Thanks! T.
Here is my example copied from BOL USE AdventureWorks; GO IF OBJECT_ID ( 'HumanResources.uspGetAllEmployees', 'P' ) IS NOT NULL DROP PROCEDURE HumanResources.uspGetAllEmployees; GO CREATE PROCEDURE HumanResources.uspGetAllEmployees AS SET NOCOUNT ON; SELECT LastName, FirstName, JobTitle, Department FROM HumanResources.vEmployeeDepartment; GO
EXECUTE HumanResources.uspGetAllEmployees
|
|
|
|