Viewing 15 posts - 2,566 through 2,580 (of 13,459 total)
why don't you just decrypt the stored procedure instead?
Lowell
February 5, 2014 at 5:46 am
want to use a remote server, but don't want a linked server? I'm with Sean, your dismissing the #1 tool without an apparent reason.
openrowset is disabled by default, whereas linked...
Lowell
February 5, 2014 at 5:43 am
oops
Lowell
February 4, 2014 at 11:56 am
performance wise, this would be a little better, since the OR statement forces a table scan, and this would/could take advantage of existing indexes instead.
but it's effectively the same approach.
SELECT
...
Lowell
February 4, 2014 at 10:42 am
first stab at the issue:
SELECT OrdersTest.*,
CASE
WHEN RTRIM(ISNULL(OrderNo,'')) = ''
THEN 'Blank Order Number'
ELSE
''
END AS OrderNumberIncorrect,
CASE
WHEN ISNULL(PalletCount,0) =...
Lowell
February 4, 2014 at 10:34 am
SQL is really good about not caring about the order of things, the order of columns, the order of data are not relevant to SQL, so having the PK as...
Lowell
February 4, 2014 at 10:11 am
for that specific query, that index is not a good match for a parameterized query
a new index, something like this would probably work immediately for your existing query and...
Lowell
February 4, 2014 at 8:06 am
there's a lot of logic holes in here; are we trying to find the fiscal start date or something? is the 05 date a copy paste err, and it should...
Lowell
February 4, 2014 at 7:40 am
what is the definition of the index?
your query has three columns in the WHERE statement, is the index on all three columns?
since you are doing SELECT *, at a minimum,...
Lowell
February 4, 2014 at 7:02 am
i cannot find it now, but Sean Lange posted an answer to a question that was near identical to this idea, and noted all the grievous, serious problems that were...
Lowell
February 3, 2014 at 2:19 pm
well the things i see so far are:
you are joining other tables to a view vw_Return_Entity_Ops
it is very common that a view will grab substatially more columns thyan you...
Lowell
February 3, 2014 at 2:05 pm
i have this saved in my snippets; it's calculating the min and max longitudes/latittudes for a specific point, which you then use to bracket in the values search a...
Lowell
February 3, 2014 at 1:48 pm
certainly possible, i think it goes directly to your data;
do you have polygon boundaries for your cities, or a simple single point per city?
either way, you can build...
Lowell
February 3, 2014 at 1:11 pm
i baby sit a non profit that has a 6000 member email list, and we used send out various notifications just like you plan; the whole one at a time,...
Lowell
February 3, 2014 at 12:15 pm
djj (2/3/2014)
Lowell, thanks for the reply. I am actually looking to delete the "bad" numbers so yes it is an IN.
well going forward, you could add a check constraint...
Lowell
February 3, 2014 at 12:02 pm
Viewing 15 posts - 2,566 through 2,580 (of 13,459 total)