Viewing 15 posts - 6,586 through 6,600 (of 11,678 total)
Since you already know the basics of SQL, you can read this TSQL book by Itzik Ben-Gang (it's not that easy, but you'll learn a lot from it):
August 2, 2012 at 2:26 am
khelloufsofiane 6183 (8/2/2012)
Hi,??????????
How can I choose an answer and there is statement that insert into D4 table. !!!!!!!!!!!!!!!!!!!!!!!!!!
Thanks
Read the question. Read it again. Read it again and now pay special...
August 2, 2012 at 1:39 am
Thanks, great question.
I first thought: "statement 1 doesn't return a row at all!" Then I read the question a little better 😀
August 2, 2012 at 12:18 am
Sqlism (8/1/2012)
I changed the protection level to EncryptSensitiveWithPasswordPlease let me know syntax to "add /decrypt with the password"
Thanks a ton!
As I said before, SQL Agent will ask you for...
August 1, 2012 at 11:25 pm
GSquared (8/1/2012)
Koen Verbeeck (7/30/2012)
GSquared (7/26/2012)
August 1, 2012 at 6:42 am
L' Eomot Inversé (8/1/2012)
ChrisM@Work (8/1/2012)
dwain.c (7/31/2012)
SQLRNNR (7/27/2012)
SQL Kiwi (7/27/2012)
And people ask me why I don't post as much on SSC as I used to 🙁
Really unfortunate - I would love...
August 1, 2012 at 4:44 am
ChrisM@Work (8/1/2012)
polkadot (7/31/2012)
... I need an alias for the column the WHERE STATEMENT generates...
The WHERE clause doesn't generate an output column. Ever.
There are four well-known ways to calculate running...
August 1, 2012 at 2:30 am
Cadavre (8/1/2012)
I think you're still looking at an internal UNION there.
Well, the code is meant to replace UNION, so that's possible 😀
Cadavre (8/1/2012)
August 1, 2012 at 1:49 am
Allright, I managed to rewrite the query without using UNION or UNION ALL:
SELECT COALESCE(A.ID,B2.ID), COALESCE(A.Value, B2.Value)
FROM
A
LEFT OUTER JOIN
B B1
ON A.ID = B1.ID
FULL OUTER JOIN
B B2
ON B2.ID = B1.ID
WHERE B1.ID IS...
August 1, 2012 at 1:25 am
If you use UNION ALL the Distinct Sort operator will be removed from the query plan and performance won't be that bad. Are the two SELECT queries just simple selects...
August 1, 2012 at 12:34 am
The issue is with the /connection property, not with /decrypt. Normally, the package will be decrypted by your user key (as the protection level suggests) so you wouldn't need to...
August 1, 2012 at 12:28 am
You can't add an alias in a WHERE clause, so it's probably a mistake in the article. It probably needs to be appended after SUM(b.Sales), not after the WHERE clause.
The...
August 1, 2012 at 12:21 am
What's wrong with union?
Since TSQL offers only union, intersect and except, any solution that I can think of right now involves union.
August 1, 2012 at 12:17 am
Can you edit properties of the report? Maybe try a redeploy from Visual Studio.
August 1, 2012 at 12:11 am
This question could have been so much more than just a simple trick question. Instead of focusing on attribute or element centric mapping (which you did a bit with the...
August 1, 2012 at 12:07 am
Viewing 15 posts - 6,586 through 6,600 (of 11,678 total)