Viewing 15 posts - 10,276 through 10,290 (of 18,923 total)
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
Did he use a triangular join or a temp table solution??
I guess that even the temp table solution would be very comparable to the cursor if not faster.
January 15, 2007 at 10:01 am
FROM (
SELECT 1 AS RentID, CAST('2006-01-01' AS
January 15, 2007 at 9:05 am
This was triple-posted by error. Please use this thread to answer :
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=92&messageid=336829
January 15, 2007 at 7:32 am
Viewing 15 posts - 10,276 through 10,290 (of 18,923 total)