Viewing 15 posts - 21,361 through 21,375 (of 26,490 total)
manohar (4/24/2009)
Will it be extra overhead if I create indexes on temporary tables..??
As that procedure will be frequently used ..... Temporary table will be created and deleted,. Indexes will...
April 24, 2009 at 10:50 pm
Jeff Moden (4/24/2009)
Lynn Pettis (4/24/2009)
April 24, 2009 at 2:06 pm
Jeff, Do you have access to SQL Server 2008? At the SSWUGvConference I heard the the ORDER BY "may be" honored again in the UPDATE statement. I don't...
April 24, 2009 at 1:21 pm
As this is done inside a stored procedure, I'd drop using a table variable and use a temporary table instead. If there are a large number of records in...
April 23, 2009 at 10:30 pm
Be sure to post your final solution. It may help others with a similar issue/problem.
April 23, 2009 at 4:02 pm
Bob Hovious (4/23/2009)
Where would one look for examples of bad SQL?
I can think of a poster child. I'll bet Lynn can too.
Bob, how about: SQL 2008, the sequel?...
April 23, 2009 at 10:35 am
I'd look at setting up a test DB here at work on our development server if everything could be put into a consolidated zip file. The server I have...
April 23, 2009 at 9:27 am
Click on the post # of the post. You can get a url like: http://www.sqlservercentral.com/Forums/FindPost702820.aspx. That one happens to be to you post asking how to it.
April 22, 2009 at 4:19 pm
I'm also looking for the test data as well.
April 22, 2009 at 4:10 pm
Is there a specific post where I can find the SQL to setup a test suite?
April 22, 2009 at 3:03 pm
What Lowell is talking about is using the view to update the underlying table. You can learn more about updateable views in Books Online. If your view meets...
April 22, 2009 at 8:46 am
Goldie Graber (4/22/2009)
Lynn Pettis (4/21/2009)
Goldie Graber (4/21/2009)
Bevan keighley (4/21/2009)
Hi Goldie,Do you have an index on UserID?
Yes, Non-Unique, Non-Clustered.
That is the problem. For the "quirky update" to work you need...
April 22, 2009 at 8:17 am
No setup code, just my code. I am including the code for both user-defined functions as well.
/****** Object: UserDefinedFunction [dbo].[ufn_Tally2] Script Date: 04/22/2009 08:02:45 ******/
SET...
April 22, 2009 at 8:06 am
Here is the sample data.
INSERT INTO dbo.BackgroundViews
SELECT '1/8/09 9:18:01',46636,17,15,8,'222.127.161.230'
UNION ALL
SELECT '1/8/09 9:18:02',46636,17,15,8,'82.109.68.165'
UNION ALL
SELECT '1/8/09 9:18:03',46636,17,15,8,'136.229.5.44'
UNION ALL
SELECT '1/8/09 9:18:04',46636,17,15,8,'62.2.187.21'
UNION ALL
SELECT '1/8/09 9:18:05',46636,17,15,8,'86.96.227.88'
UNION ALL
SELECT '1/8/09 9:18:06',23452,17,15,8,'86.96.228.86'
UNION ALL
SELECT '1/8/09 9:19:07',23452,17,15,8,'86.96.228.86'
UNION ALL
SELECT '1/8/09 9:18:08',46636,17,15,8,'202.79.203.51'
UNION...
April 22, 2009 at 7:40 am
real (4/21/2009)
Declare @price decimal(10,2)
SET @price = price_01 FROM prices
SET @rebate = rebate_01 FROM rebates
SET @shipping = shipping_01 FROM Shipping
With "hundred" of formulas.
.
.
.
As you can see, only the...
April 21, 2009 at 9:20 pm
Viewing 15 posts - 21,361 through 21,375 (of 26,490 total)