Viewing 15 posts - 10,276 through 10,290 (of 18,926 total)
Good points. As for seeing it in other posts you might from now on. As you said I'm very aware of the numbers table but it had never occured to...
January 15, 2007 at 9:06 pm
As I already said, even with only 1000 rows in the base table, the server will have to process up to 1 000 000 rows. That's why I'll often preffer...
January 15, 2007 at 9:04 pm
What are the columns that uniquelly identify the row (need some sort of tie breaker for this code)?
Can you add an identity column (teporary measure) to that table?
January 15, 2007 at 2:41 pm
Wow that's a nice new approach.
The only downside I can see is that the 2nd id must have an unbroken sequence to make this work... and be some sort of...
January 15, 2007 at 2:39 pm
PS... you obviously have to use a SP to run this
.
The code to make the equivalent in a view would really kill the...
January 15, 2007 at 2:27 pm
USE MASTER
GO
CREATE TABLE #Work (ID INT, Name SysName, colid smallint, rowid smallint)
INSERT INTO #Work (ID, Name, colid)
SELECT ID, Name, Colid FROM dbo.SysColumns ORDER BY ID, Colid
DECLARE @rowid AS INT
DECLARE @LastID...
January 15, 2007 at 2:10 pm
Any auditing done on that table, either in another table or a lastupdateDate column?
January 15, 2007 at 2:02 pm
What process is it doing exactly? Maybe you can check for traces in other tables (like a flag set to X value).
Because I doubt that you can have access to...
January 15, 2007 at 1:49 pm
Why do you need to do that server side? It's very easy to do that with a reporting tool or in any other languages.
It can be done server side but...
January 15, 2007 at 1:47 pm
Is the Seq# permanent in the table or just in a select.
How much data are you talking about (rows).
January 15, 2007 at 1:37 pm
On the very same lines. The DIFFERENCE() function was written for stuff like that. It's worth a look in your case.
January 15, 2007 at 1:04 pm
"The second one reads "Mustang for sale: $100.000. 5% Discount if you pay with dimes". My point is that the "Why would I want to?" part can have a lot...
January 15, 2007 at 1:03 pm
select a.* from tbl_a a inner join tbl_b b on REPLACE(a_id, 'LINK_', '') = b.b_id
January 15, 2007 at 12:43 pm
The real reason behind this is that most of the time 95%+, then cursor based approach is gonna be slower, sometimes exponentially slower (if cursor inside a cursor) than the...
January 15, 2007 at 12:19 pm
What is in the actual data?
The prefix 'link_'
or an actual dynamic [web page] link?
Some actual sample data would greatly help us generate the adequate solution.
January 15, 2007 at 12:13 pm
Viewing 15 posts - 10,276 through 10,290 (of 18,926 total)