Viewing 15 posts - 11,926 through 11,940 (of 13,459 total)
maybe I'm missing something, but i do not see any reason for the looping construction to be in your procedure(which is the reason it is slow)
it looks like you load...
Lowell
November 4, 2008 at 4:21 am
SELECT *
FROM CustomerMapping_Stage
LEFT OUTER JOIN CustomerMapping
ON CustomerMapping_Stage.ClientNo = CustomerMapping.ClientNo
AND CustomerMapping_Stage.Customer= CustomerMapping.Customer
--this finds what is NT in CustomerMapping YET:
--AND CustomerMapping.PKid IS NULL
martina.kenny (11/4/2008)
Lowell
November 4, 2008 at 4:03 am
check the first link again, I re-edited it; the second link should be fine as well. they just open as a text file; the script is beyond the size limit...
Lowell
November 3, 2008 at 3:56 pm
just realized that script does not handle things like varchar(max) gracefully.
here is a link to a 2005 version:
db_documentation_in_html_script_enhanced2005.txt
Lowell
November 3, 2008 at 3:52 pm
i got what you are looking for;
there was a script submission that someone made; It creates an HTML document, which you just save and view.
I've enhanced it slightly, and you...
Lowell
November 3, 2008 at 3:45 pm
you can try the isnumeric function:
WHERE ISNUMERIC(SOMEVARCHAR) = 1
but as others will tell you, it's not 100% reliable, because of the way it is structured; for exampel
select isnumeric('1E2')
select isnumeric('1d2')
all...
Lowell
November 3, 2008 at 8:36 am
you need to change the isnsert so that it has your objnum in it, typcially by joining to the right table.
for example, if you have a lookup table that has...
Lowell
November 3, 2008 at 7:02 am
in my experience, when the same query doesn't run right on two different servers, i check two items first thing: statistics and parameter sniffing.
statistics on one server might be up...
Lowell
November 3, 2008 at 6:47 am
ok here's an example for you to play with to understand the concept:
create the two tables, and select from the two tables after every step;
this example says if columns 3,4,5,6,7...
Lowell
October 31, 2008 at 10:03 am
all i meant was you are joining lots of tables in this query....if any two of the tables have a column named PARNT then you will get an error that...
Lowell
October 30, 2008 at 11:54 am
first thing i notice is you declared 43 variables, but only use one of them; i guess there's more to this than you pasted?
next a minor thing is that your...
Lowell
October 30, 2008 at 10:36 am
you could easily do this automatically in a trigger, especially by using the new COLUMNS_UPDATED() function that exists for triggers in SQL2005; if a change occurs, you could have a...
Lowell
October 30, 2008 at 8:25 am
if your dev machine is running SQL Express or SQL Express Advanced, SQl Server Agenct does not exist; it's not part of the featureset, and i suspect that is what...
Lowell
October 29, 2008 at 10:56 am
aw come on, you know what i mean...Dev is limited to a max of 10 connections, instead of limited only by memory in the full version, a couple of...
Lowell
October 28, 2008 at 9:09 pm
the portion you pasted has a trailing slash and closing bracket for your CS2 connection...was that just a copy/paste error, or could it be the issue??
Password=xxxx"/>
Lowell
October 28, 2008 at 10:10 am
Viewing 15 posts - 11,926 through 11,940 (of 13,459 total)