Viewing 15 posts - 11,926 through 11,940 (of 13,465 total)
do not cross post the same question in different forums.
follow the thread here:
http://www.sqlservercentral.com/Forums/Topic596429-146-1.aspx
November 4, 2008 at 7:42 am
do not cross post the same question in different forums.
follow the thread here:
http://www.sqlservercentral.com/Forums/Topic596429-146-1.aspx
November 4, 2008 at 7:41 am
as an example, I'd forget trying to restart the object number as restarting at 1 with a category break, and just generate a number based on Category and item
to...
November 4, 2008 at 7:28 am
i don't really like the structure of your table; you are really assuming that you will be inserting the header "T shirts" at the same time as all it's...
November 4, 2008 at 7:12 am
can you change the way the data gets inserted? if an application is trying to do an INSERT, can you make it call a stored proc instead?
what happens if the...
November 4, 2008 at 6:25 am
the previous link was a 20+ page forum discussion here on SSC;When I used the Google tool, it did not find the thread; I grabbed what items I thought were...
November 4, 2008 at 6:15 am
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...
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)
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...
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:
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...
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...
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...
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...
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...
October 31, 2008 at 10:03 am
Viewing 15 posts - 11,926 through 11,940 (of 13,465 total)