Viewing 15 posts - 31 through 45 (of 91 total)
When I include a wildcard on both sides of the like string it uses the better plan and returns immediately.
SELECT customer.customer_no, customer.customer_id, upper(first_name) 'first_name', upper(last_name) 'last_name',
telephone_no, address_1, post_code, email_address...
September 22, 2009 at 8:57 am
What is the best way to present the plans? I copied them from SSMS and put code tags around them.
September 22, 2009 at 8:51 am
Ken, this works. Thank you very much!
July 21, 2009 at 12:27 pm
I have solved this issue by issuing the following command:
ALTER SERVICE MASTER KEY FORCE REGENERATE
June 30, 2009 at 9:28 am
GSquared, both your examples were very helpful. Thank you all for your time and efforts.
May 18, 2009 at 10:10 am
At this point I have no choice but to use a trigger as bad a design as it is. Any idea why the NOT EXISTS clause is not working.
May 18, 2009 at 9:25 am
The seq_num handles the multiple payments per transaction. This is newly added so we can not go back and change or remove existing data. That is why there...
May 18, 2009 at 9:15 am
It turns out that the default for sqlcmd is qouted_identifier off. I needed to use the -I swith and now it works.
April 27, 2009 at 12:17 pm
Here is some more info:
Table Definition:
CREATE TABLE [outlet](
[retailer_id] [int] NOT NULL,
[outlet_id] [nvarchar](20) NOT NULL,
[group_id] AS (left([outlet_id],(3))) PERSISTED NOT NULL,
[outlet_desc] [nvarchar](40) NULL,
[outlet1_address] [nvarchar](100) NULL,
[outlet2_address] [nvarchar](100) NULL,
[city_name] [nvarchar](60) NULL,
[state_code] [nchar](2) NULL,
[postal_code]...
April 27, 2009 at 10:39 am
I believe it is part of this thread but forgive me if it is not and I can start a new one. The trigger I am writing needs to...
March 20, 2009 at 2:16 pm
Hello, in a recent design meeting it surfaced that these triggers would need to compare the new values in the triggering table with values in another table before proceeding down...
March 20, 2009 at 1:54 pm
How are rows inserted when a table has no indexes? Is the effect the same? Thank you.
March 20, 2009 at 9:30 am
It looks like it is recommended that a clustered ascending sort primary key be placed on the audit/log tables. Why is that better for performance? Thank you.
March 20, 2009 at 9:15 am
Viewing 15 posts - 31 through 45 (of 91 total)