Viewing 15 posts - 18,901 through 18,915 (of 22,214 total)
Are you kidding? I write cursors for everything so that I can come back later and "tune" the query.
December 31, 2008 at 7:54 am
Jeff Moden (12/31/2008)
Grant Fritchey (12/31/2008)
December 31, 2008 at 7:23 am
I presented this as a database design at a meeting once.
CREATE TABLE [dbo].[AppTable](
[Id] [int] IDENTITY(1,1) NOT NULL,
[RefId] [int] NOT NULL,
[AppValue] [nvarchar](max) NOT NULL,
CONSTRAINT [PK_AppTable] PRIMARY KEY CLUSTERED
(
[Id] ASC
)WITH...
December 31, 2008 at 7:21 am
Jeff Moden (12/31/2008)
Tom.Thomson (12/31/2008)
December 31, 2008 at 7:03 am
Thanks for the correction. I wasn't sure and I haven't really looked at the table valued parameters yet. I should have kept my mouth shut.
December 31, 2008 at 6:57 am
Even though SQL Server 2005/2008 will store excess values past the 8060 limit when dealing with varchar,etc., you will get performance overhead to go and do that extra retrieve. I'd...
December 31, 2008 at 6:17 am
Returning 89000 rows out of 100000 pretty much means that you're going to get scans of the table and/or indexes involved.
However, there might be things that can be done. Can...
December 31, 2008 at 6:11 am
Assuming it's not a real text file, in which case, it's just a dump of a database and you'll need to get the structure from another source and then use...
December 31, 2008 at 6:09 am
I think you can do that in 2008, not that it helps you in 2005.
December 31, 2008 at 6:03 am
Putting data into the tempdb is quite a lot different than putting data into an Excel file. I guess I'm still going to need more information here.
I just glanced...
December 31, 2008 at 5:57 am
That procedure might be querying across the databases. It's also possible their login is going to your database by default.
I'm sure it's possible for it to report incorrect connections, but...
December 31, 2008 at 5:49 am
It may be clunky, but there is a lot of clarity of information by seperating it into discrete buckets (even though the buckets are a bit abused by some of...
December 30, 2008 at 12:51 pm
I would say the difference is probably attributable to statistics. If you look at the end of the process, the scans & reads for the two are VERY different. For...
December 30, 2008 at 9:47 am
Larry Larson (12/30/2008)
The Guru's Guide to Transact-SQL, by Ken Henderson.
I agree with this. I have three of Henderson's books sitting on my shelf right now. Unfortunately, they're beginning to age...
December 30, 2008 at 7:30 am
Lin Zhang (12/30/2008)
December 30, 2008 at 7:21 am
Viewing 15 posts - 18,901 through 18,915 (of 22,214 total)