Viewing 15 posts - 16 through 30 (of 38 total)
Just to share what I have figured out so far, here are the nodes or paths that have the metadata I want and the .value paths as well.
...
April 21, 2011 at 11:09 am
Thanks. I have been working parsing the XML that is in ReportCatalog.Content, but I was just hoping someone else had already done this. More importantly, I don't want...
April 21, 2011 at 9:26 am
I would agree about creating a new thread. However, if your problem is as simple as your question, then the following SQL, or something like it, should suffice to...
June 30, 2010 at 11:45 am
Kudos to whomever allowed me to subscribe to a topic and get an email. 🙂
June 15, 2010 at 8:18 pm
It looks like I forgot to add the dynamic SQL that puts all these pieces together.
-- Piece together everything into a single dynamic INSERT statement
...
June 15, 2010 at 3:27 pm
And for whatever reason, when I try to use the sys.dm_exec_requests table, I do not get the expected results. I try the following code and I get...
July 8, 2008 at 7:00 pm
Thanks, Kent. I never heard of the Context stuff before, so that was very helpful. It still acts as a way of tracking things across procedures, without passing...
July 7, 2008 at 11:05 am
How can I see the contents of the TXT files? When I click on the link to the TXT files, I get a SQL Server Central page with the...
July 7, 2008 at 8:10 am
The UNION ALL and EXCEPT method will work and is easier to understand, but it is too time consuming for me. If you use 'select *' with the...
June 7, 2008 at 7:07 pm
Not sure of the output you want. For a list of people that have been added...
select ID from Phone2
EXCEPT
select ID from Phone1
An alternate method could be used and...
June 5, 2008 at 9:19 am
select PersonId, count(PersonId), (count(PersonId)- count(Value+AltValue)) as CountNulls
The (Value + AltValue) will result in a null if either is null
June 5, 2008 at 8:20 am
Change the SELECT to ...
SELECT @List = COALESCE(@List + ',', '') + '''' + Cast(somedata As varchar(5)) + ''''
PS. I never knew COALESCE could be used like this to...
June 5, 2008 at 7:44 am
There may be a more elegant solution for the nulls, but this should work
select PersonId, count(PersonId), (count(PersonId)- count(Value)) as CountNulls
from dbo.Table_1
group by PersonId
June 5, 2008 at 7:37 am
Just for completeness, here is the revised code for parsing out the old ane new values into the final table...
IF UPPER(@p_details) = 'YES'
...
June 4, 2008 at 9:56 am
Ok, I could not let the lack of old and new values wait any longer. Here is the revised code that accounts for whether the old and new values...
June 4, 2008 at 8:50 am
Viewing 15 posts - 16 through 30 (of 38 total)