Search the web
Sign In
New User? Sign Up
sqlcon
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 4448 - 4477 of 6519   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
4448
Hi Aneesh Thx 4 Good Ans....
nic_santosh
Offline Send Email
Oct 1, 2006
11:41 am
4449
Pls find out mistake in this prog. BEGIN DECLARE @abc TABLE(a int,b int) DECLARE @vWhere varchar(200),@vSQl varchar(100) set @vWhere=' Where a=7701' insert...
nic_santosh
Offline Send Email
Oct 1, 2006
12:26 pm
4450
the last statment exec sp_sqlexec @vSQL causes error. why? becuase the scope of table varibale @abc doesn't exists when you pass @vsql to sp_execsql. you can...
smart chip
knowledge_chip
Offline Send Email
Oct 1, 2006
4:41 pm
4451
Dear all please check this and reply soon, its very urgent for me.. waiting for reply. thanks for all. sunil john <suniljk7@...> wrote:...
sunil john
suniljk7
Online Now Send Email
Oct 2, 2006
6:56 am
4452
HCL Comnet IS HIRING IT PROFESSIONALS FOR NOIDA / CHENNAI LOCATIONS HCL Comnet is hiring the following professionals. .. for Chennai / Noida Locations 1 Unix...
dbagurus
Offline Send Email
Oct 2, 2006
9:02 am
4453
Sunil, Your procedure is unlikely to create problems like deadlock. But it seems that the procedure may produce incorrect results since the possibility of more...
Roji P Thomas
roji_pt
Offline Send Email
Oct 3, 2006
5:56 am
4454
It is not recommended to begin the stored procedure name with 'sp_'. When you execute a procedure starting with sp_, it will search the master database first...
Babu PP
babupp_in
Offline Send Email
Oct 3, 2006
6:27 am
4455
Hi, 1. You can consider using TOP clause instead of SET ROWCOUNT 2. In your UPDATE clause you can use JOIN instead of IN(). 3. *Consider* using table variable...
Babu PP
babupp_in
Offline Send Email
Oct 3, 2006
6:28 am
4456
Babu, See my comments inline. ... You cannot use a variable with Top in SQL server 2000 without comverting the entire script to dynamic SQL. ... I'd recommend...
Roji P Thomas
roji_pt
Offline Send Email
Oct 3, 2006
7:15 am
4457
Very valid point. Regards Roji. P. Thomas http://toponewithties.blogspot.com ... From: Babu PP To: sqlcon@yahoogroups.com Sent: Tuesday, October 03, 2006 11:51...
Roji P Thomas
roji_pt
Offline Send Email
Oct 3, 2006
7:26 am
4458
Hi Roji, Thanks for your comments. I have my justifications below, for each point. Still comments are welcome (from all of you). 1. I have tested this in 2005...
Babu PP
babupp_in
Offline Send Email
Oct 3, 2006
7:59 am
4459
Dear roji and babu, thanks for ur help. but i have some questions ... if i am using top clause we have to use dynamic sql which is more expensive ?? am i...
sunil john
suniljk7
Online Now Send Email
Oct 3, 2006
8:07 am
4460
Babu, 1. TOP @var is an enhancement made in SQL server 2005. In 2000 it was not possible. See http://toponewithties.blogspot.com/2005/07/top-enhancements.html ...
Roji P Thomas
roji_pt
Offline Send Email
Oct 3, 2006
9:25 am
4461
... if i am using top clause we have to use dynamic sql which is more expensive ?? am i right ? ( also heard that dynamic sql can get sql injection threat) ...
Babu PP
babupp_in
Offline Send Email
Oct 3, 2006
9:28 am
4462
Sunil, One way of solving the issue is putting the SELECT and UPDATE inside a single transaction and specifying the WITH(UPDLOCK) hint on the table when you...
Roji P Thomas
roji_pt
Offline Send Email
Oct 3, 2006
9:34 am
4463
Babu, I have to interfere because some of your advice is not technically correct here. 1. JOIN is faster than IN() Its not correct. First of all, they serve...
Roji P Thomas
roji_pt
Offline Send Email
Oct 3, 2006
10:08 am
4464
Hi Roji, Thanks for the info. You are right. Regards Babu ... [Non-text portions of this message have been removed]...
Babu PP
babupp_in
Offline Send Email
Oct 3, 2006
11:05 am
4465
I totalay agree with Roji, We performed a series of tests last summer in our company from dataset varyting fom 10 rows to 1 lakh rows and agianst a big data...
Veer Ji Wangoo
vwangoo
Offline Send Email
Oct 3, 2006
11:34 am
4466
Dear Roji and Babu, As per your suggestion i have modified the code: please have a look and let me know everything is fine. (waiting for ur reply) Changed the...
sunil john
suniljk7
Online Now Send Email
Oct 3, 2006
2:06 pm
4467
Sunil, what you are using is not a table variable, but a permanent table. Also you need to put the last select statement inside the transaction....
Roji Thomas
roji_pt
Offline Send Email
Oct 3, 2006
4:35 pm
4468
Dear Roji, So i hope everything is fine. Here we are using actual table,but which has existence only within transaction. Am i right? Do i need to drop this...
sunil john
suniljk7
Online Now Send Email
Oct 3, 2006
6:02 pm
4469
Sunil, If you are using a permanent table, you have to truncate the table before performing the insert. I think its better to use a temprary table or table...
Roji P Thomas
roji_pt
Offline Send Email
Oct 4, 2006
5:42 am
4470
Hi All, Aneesh Retnakaran(aneeshattingal@...) from SQLCON has been MVP'd in SQLServer Refer: http://www.microsoft.com/india/mvp/indiamvp.aspx. Great...
Anjana Ram
anjana_r21
Offline Send Email
Oct 4, 2006
9:24 am
4471
Hi Sunil, when u want to optimise a query, first and foremost thing u do is to limit the IO(input/output operation) on the hard disk, since HDD is the slowest...
Madhu K Nair
madhuotp
Offline Send Email
Oct 4, 2006
9:33 am
4472
Dear Roji and babu, Thanks for all the help you all provided. i have made it as a table variable. once again thanks sunil Roji P Thomas...
sunil john
suniljk7
Online Now Send Email
Oct 4, 2006
9:41 am
4473
hi Aneesh, it is a great insparation for all of us. well done madhu ... who...
Madhu K Nair
madhuotp
Offline Send Email
Oct 4, 2006
9:47 am
4474
hi Aneesh, it is a great insparation for all of us. well done madhu ... who...
Madhu K Nair
madhuotp
Offline Send Email
Oct 4, 2006
10:03 am
4475
Congrats Aneesh. Keep up the good work Regards Roji. P. Thomas http://toponewithties.blogspot.com ... From: Madhu K Nair To: sqlcon@yahoogroups.com Sent:...
Roji P Thomas
roji_pt
Offline Send Email
Oct 4, 2006
10:22 am
4476
Hi Madhu, It was typing mistake, thanks for pointing that. but u said ... Apart from that it will also create problem when multiple users are concurrently...
sunil john
suniljk7
Online Now Send Email
Oct 4, 2006
11:04 am
4477
1. Adding or modifying indexes in the database 2. Shrinking database and log files 3. Increasing the size of the database...
Ravi Singh
rsinghj@...
Send Email
Oct 4, 2006
12:42 pm
Messages 4448 - 4477 of 6519   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help