Viewing 15 posts - 1,756 through 1,770 (of 1,825 total)
Just to clarify , do you want to delete all but one of these rows ?
July 3, 2009 at 3:52 am
You dont need to know XML. It really has nothing to do with it , it's just a handy cheat to concatenate strings.
July 3, 2009 at 3:47 am
I dont wish to be rude , but if that is causing you troubles you really need to go on a course.
July 3, 2009 at 3:13 am
Generally i try to 'teach a man to fish'.
But really, come on give it a try.....
http://www.sqlservercentral.com/Forums/Topic746875-49-1.aspx
July 3, 2009 at 3:11 am
By using the case statement
select ....,case when money >=10000 then 'A' else 'B' end as Grade
from ....
July 3, 2009 at 3:03 am
If you expand your seqno list the yes, but you will still have an upper limit.
The XML method is the best in terms of performance. Its not without problems...
July 3, 2009 at 2:58 am
Lynn's response above should be exactly what you need.
The link i gave also describes this method.
July 3, 2009 at 2:47 am
Hi, heres a link to get you started
http://www.simple-talk.com/sql/t-sql-programming/concatenating-row-values-in-transact-sql/
July 3, 2009 at 1:10 am
I would imagine that putting an index on the email column would do nothing but help with the performance as, internally, it will already have a ordered list to base...
July 2, 2009 at 1:49 pm
ifila (7/2/2009)
It took 35 minutes to process 600 000 records...
July 2, 2009 at 1:15 pm
Scalar udfs are generally quite slow and should be avoided.
Try to isolated the issue , what is performance like if you make it a sequential count ?
Also i notice that...
July 2, 2009 at 9:20 am
How do you mean 'next' is this is a cursor ?
you could use row_number() (partition by .....) to detect the 'duplicates'
July 2, 2009 at 8:23 am
Exactly, a fundamental misunderstanding. Do not view a sqlTable as a nice ordered list , think of it more of a haystack of data. When you select...
July 2, 2009 at 6:45 am
Hi , you have a fundamental misunderstanding , there is no 'top' and there is no 'bottom', if you need something to happen in a specific order you have...
July 2, 2009 at 4:23 am
Viewing 15 posts - 1,756 through 1,770 (of 1,825 total)