Viewing 15 posts - 3,856 through 3,870 (of 5,504 total)
Kit G (4/5/2010)
... Memories of holding my breath during reboot hoping that the operating system (Windows 3.11) would come up abound. ...
Wasn't Windows 3.11 "just" an application back...
April 5, 2010 at 9:29 am
What would be your expected output based on some sample data provided asdescribed in the first link in my signature? (Your current post doesn't really include a quesition...)
Side note: How...
April 4, 2010 at 2:21 am
Quoting the OP's first post:
We have jobs that perform inserts into a table with an alphanumeric primary key...
it seems like the major issue is the alphanumeric key. Therefore neither...
April 3, 2010 at 7:09 am
What is the business case you need to deal with?
Basically I see two options:
1) if possible at all modify the trigger to deal with all rows at once or
2) import...
April 3, 2010 at 4:18 am
olie480 (4/2/2010)
Jeff Moden (4/2/2010)
April 3, 2010 at 3:47 am
Grant Fritchey (4/2/2010)
...But seriously, I was thinking, and I'm assuming Lutz was thinking, adding a number or or substituting a number for the char field. Idle chatter really.
Your assumption is...
April 3, 2010 at 3:37 am
cgreathouse (4/2/2010)
Could you explain what's going on here to make it so much faster?
Thanks!
....
this one
WHERE...
April 3, 2010 at 3:26 am
Thank you Jason for detecting my simple but most relevant mistake.
Since my error rate increase dramatically at the moment (in another thread I just forgot that table variables where introduced...
April 2, 2010 at 5:40 pm
CirquedeSQLeil (4/2/2010)
My concern is due to the ands
WHERE LOW >= 982827279
AND LOW < 982827279 +1000
AND HIGH <= 982827279
Since the High and Low are the same value - it...
April 2, 2010 at 5:26 pm
Btw: What do you mean by "query manager"?
If you're using SQL Server 2000, the query shouldn't run at all since table variable as well as ROW_NUMBER function that I've used...
April 2, 2010 at 5:12 pm
That's weird...
Here's the result in the Results window when running the modified query as you posted:
CustNumberFirstNameLastNameCity
345321JohnDoeKellogg
459978JohnDoeKellogg
Message window output:
(4 row(s) affected)
(2 row(s) affected)
The total number of columns doesn't really matter as...
April 2, 2010 at 5:07 pm
CirquedeSQLeil (4/2/2010)
lmu92 (4/2/2010)
If so, you could base your query on the LOW column to narrow down the...
April 2, 2010 at 5:01 pm
Is there any change to have a known maximum range between LOW and HIGH?
If so, you could base your query on the LOW column to narrow down the number of...
April 2, 2010 at 4:11 pm
You could use Row_Number() to find the dupes...
Something like this:
DECLARE @tbl TABLE
(
CustNumber INT, FirstName VARCHAR(30), LastName VARCHAR(30), City VARCHAR(30)
)
INSERT INTO @tbl
SELECT 345321 ,'John','Doe','Kellogg' UNION ALL
SELECT 459978...
April 2, 2010 at 3:31 pm
Grant Fritchey (4/2/2010)
April 2, 2010 at 7:06 am
Viewing 15 posts - 3,856 through 3,870 (of 5,504 total)