Viewing 15 posts - 1,861 through 1,875 (of 4,087 total)
A tag is associated with a child, and only indirectly with the parent. If a tag were associated with a parent, then ALL children of that parent would have that tag....
February 21, 2017 at 11:38 am
You would need to use dynamic SQL, and you should never "simply plop" anything that will be executed into a query. You should always take steps to prevent SQL injection.
February 16, 2017 at 3:58 pm
The issue that you're seeing is that the results you get depend on what user interface you are using. Specifically, the grid view in SSMS returns different results than the...
February 16, 2017 at 3:29 pm
I think this does exactly what I need I just need...
February 16, 2017 at 3:15 pm
;
WITH CTE AS
(
SELECT *, DENSE_RANK() OVER(ORDER BY n) AS dr
FROM @Message m
CROSS APPLY (
SELECT 1
FROM @vendor v
WHERE v.MessageId = m.MessageId
February 16, 2017 at 2:48 pm
What do you want to happen if there is information in the @vendor table, but it doesn't match any of the records in the @Message table? No rows? Records that...
February 16, 2017 at 2:25 pm
Select column one, column two from...
February 16, 2017 at 2:07 pm
As Thom has already said, this approach violates First Normal Form, and you've already run into problems because of this. You should reconsider your approach.
February 16, 2017 at 12:32 pm
Without sample data and expected results, it's very difficult to troubleshoot your query. You can find how to post those in the first link in my signature.
My first...
February 16, 2017 at 12:07 pm
Sorry, didn't realize this was in SSRS. You don't want five separate datasets. You should either be creating two datasets (one for the main report and one for the grant...
February 16, 2017 at 11:50 am
Viewing 15 posts - 1,861 through 1,875 (of 4,087 total)