Viewing 15 posts - 796 through 810 (of 7,191 total)
"Component" is just an alias. It's not a column of table b (VndrCmpntNum ). Remove the "b." from the ORDER BY clause and it should work.
John
April 13, 2018 at 2:05 am
I think even the security update includes the CUs, but I wouldn't swear to that. Might be safer to install the latest CU and then the security update.
John
April 12, 2018 at 7:05 am
Thanks Grant. Yes, absolutely. The only reason I specifically mentioned security updates was in response to the second question in the original post.
John
April 12, 2018 at 5:14 am
April 12, 2018 at 4:51 am
SP2+CU11 will include all security updates up to and including the date of release of CU11.
John
April 12, 2018 at 4:42 am
Yes, you can do it like that, or you could build the query dynamically, adding the WHERE clause only if the checkbox is ticked.
John
April 12, 2018 at 4:12 am
Where do all the currencies come from? This page lists only 178, so you could use that as your basis, extend the query I posted earlier, and get a...
April 11, 2018 at 9:39 am
SELECT
Entity
, Account
, MAX(CASE
WHEN LocalCurrencyID = 'USD' THEN Amt
ELSE 0
END) AS USDAmount
, MAX(CASE
WHEN LocalCurrencyID = 'CAD' THEN Amt
ELSE 0
END) AS...
April 11, 2018 at 9:07 am
Sam
You could use dynamic SQL for this, but unless you're very careful, you'd be vulnerable to SQL injection. Instead, I recommend that you use a splitter...
April 11, 2018 at 4:29 am
Yes, I agree. Qualify all objects with schema names. If that doesn't work, post the code.
My guess is that the schema name you've missed from your code is...
April 5, 2018 at 2:17 am
March 29, 2018 at 3:42 am
saptek9 - Tuesday, March 27, 2018 9:51 AMThank you. What about creating view instead table variables?
I think you're just guessing. Find...
March 27, 2018 at 9:57 am
Why not put some debug logic in your stored procedure so that you can see what's taking the most time?
Here's what sticks out to me:
(1) No WHERE...
March 27, 2018 at 8:59 am
In the first CTE, you're testing whether the value can be converted to a numeric type (although ISNUMERIC isn't totally reliable, but that's another discussion). In the second, you're just...
March 27, 2018 at 4:48 am
Viewing 15 posts - 796 through 810 (of 7,191 total)