Viewing 15 posts - 856 through 870 (of 1,413 total)
First of all, there is no reason to insert the rows in any specific order. The rows in a table (or a set) does not have any specific order. They...
May 12, 2005 at 3:02 am
Ah ok, that explains it.
Well, like you might have noticed in DBCC MEMORYSTATUS second section you can see the minimum number of pages...
May 12, 2005 at 2:14 am
However if there is only a single INSERT, inserting multiple rows using a select statement, I do not think that this would be a problem. The rows would need to...
May 12, 2005 at 1:43 am
Well, it might of course turn out that I went too far when I said that "COUNT(*) and COUNT(1) will never return different results and will always use the same...
May 11, 2005 at 2:22 pm
I, and I know a lot others, have April CTP installed and running on Virtual PC. I am running XP Professional in my VPC (and have also tried Win 2003),...
May 11, 2005 at 1:09 pm
Yes, you are right in that the queries return different results. The reasons were also mentioned earlier in this thread and in my article. As noted the reason is that...
May 11, 2005 at 12:52 pm
>If the first column is NOT NULL, COUNT(*) and COUNT(1) have the same result. If it's NULLable, the result may be different.
Could you elaborate on that please?
May 11, 2005 at 9:12 am
Afaik, DBCC MEMUSAGE shows the 20 objects that have the most pages cached in memory. So I am not sure how you found "The DBCC statement shows that free buffer...
May 11, 2005 at 8:31 am
Configuration options for SQL Server version 6.5 and 4.21 is not of much help here unfortunately.
Vidas, I have still not completely understood which...
May 11, 2005 at 7:01 am
Well, that depends on what you want/need to do. You should try to use the virtual tables in a set-based fashion. Cursors and/or procedural code with loops will hurt performance.
May 11, 2005 at 6:43 am
Which cache are we talking about here? Is it the cache of the hardware raidsystem, or SQL Server data cache??
Pages are always fetched from cache in SQL Server, if they...
May 11, 2005 at 4:52 am
Or you could add a computed column and use that in the index.
May 11, 2005 at 4:43 am
Yep, as you noted there used to be some config options in 6.5, but to my recollection they were mostly used to throttle the lazywriter (and log writer), not make...
May 11, 2005 at 3:10 am
Of course an application can use two or more databases. A database should never be "owned" by an application. That means going back to the pre-relational days of data management,...
May 11, 2005 at 2:36 am
The trigger fires once for the entire statement. Using the INSERTED and DELETED virtual tables you can get access to all the rows that where inserted/deleted or updated (using both...
May 11, 2005 at 2:28 am
Viewing 15 posts - 856 through 870 (of 1,413 total)