Viewing 15 posts - 106 through 120 (of 139 total)
Dear Gail and Adi,
Here is my testing code on SQL Server 2005
set statistics io on
go
set statistics time on
go
DBCC DROPCLEANBUFFERS
--EXISTS for all columns
begin
if exists(select * from users)
print '*'
end
--EXISTS for 1
begin
if...
December 11, 2008 at 4:24 am
Dear Adi,
It was my notion that while I am using "SELECT *", it returns whole resultset. Naturally, taking more system resources rather "SELECT 1" because it returns only 1, though...
December 10, 2008 at 11:53 pm
HI Imtiaz,
EXISTS is the fastest operator to check existence. It works on boolean value and whenever finds any TRUE it terminates. Also, it is not taking the NULL values.
December 10, 2008 at 12:25 am
HI Gail,
Want 2 know something.
"Also u may try to tune each query individually, like
use WHERE NOT EXISTS(SELECT 1 FROM D_Allocation D...
instead of WHERE NOT EXISTS(SELECT D.Label FROM D_Allocation D..
There's no...
December 10, 2008 at 12:21 am
UNION ALL is faster than UNION. So, if u allow any duplicate data, then use UNION ALL.
Also u may try to tune each query individually, like
use WHERE NOT EXISTS(SELECT...
December 8, 2008 at 1:40 am
OOhhh, forgotten to write, u can also run the CRETAE database script from a query window, specifying all the parameters.
December 8, 2008 at 1:27 am
1. Go to Object explorer
2. Right click on Database icon under right server.
3. A window ll appear, where u can specify new database name. datafile and log flle name...
December 8, 2008 at 1:25 am
Hi Waslay,
can u give me some details about "EXCEPT"? How r u using it?
December 3, 2008 at 2:19 am
Many thanks to all of you. Its really greatful to me.
December 2, 2008 at 12:39 am
Because if I have near about 1 million of rows, its difficult to manage by Excel also. Then we need to axe the resultset and test the result snippets seperately...
December 1, 2008 at 4:56 am
Thanks GilaMonster for ur valuable advice.
One query again, is there any tool present for this type of testing?
December 1, 2008 at 4:52 am
Hi,
rbarryyoung's code is not working.
Gouthama's code is working, but it is not effective from the context because actually its trying to insert from two tables.
I guess, we need...
December 1, 2008 at 2:52 am
Is performance of SQL Server 2008 is better than 2005?
November 21, 2008 at 12:16 am
U may use export-import wizard or SSIS
November 20, 2008 at 12:04 am
Viewing 15 posts - 106 through 120 (of 139 total)