Viewing 14 posts - 1 through 14 (of 14 total)
SELECT TOP 1000 [RequestID]
,cast([Request]as xml) as test
,cast( [Request] as xml).value('(Request/AccountNumber)[1]', 'Varchar(9)') as AccountNumber
FROM [log]
Returns Null for the accountnumber
August 7, 2013 at 2:49 pm
Thanks for the response. Substring is my fallback if I can't figure out an XML solution.
August 7, 2013 at 1:41 pm
Records table:
ID | LNAME | FNAME |State Cd
----------|----------|--------- |
0000001 | Bloggs | Joe ...
August 7, 2012 at 7:41 am
Thanks all for your assistance. I believe you're right AB. While the sql did not return a result. I connected then did a right click on the...
June 27, 2012 at 1:05 pm
The Connect To key does not exist. I have a last connect key which list the named instance.(SQLDev\Dev)
BTW I did not give the actual server names I gave an...
June 27, 2012 at 11:50 am
The named instance is in the registry. An alias does not exist. I apologize for not mentioning this earlier.
June 27, 2012 at 4:40 am
There is only one entry for ServerA\A
June 26, 2012 at 2:55 pm
I see ServerA\A which I believe is the named instance.
June 26, 2012 at 2:54 pm
1. What version of SQL Server is each instance?
Both ServerA and ServerA\A are 2008 Sp1
2. When you look at services.msc, are 2 instances showing up with MSSQLSERVER service? (i.e. is...
June 26, 2012 at 1:34 pm
1. What version of SQL Server is each instance?
2. When you look at services.msc, are 2 instances showing up with MSSQLSERVER service? (i.e. is one analysis services or SSRS or...
June 26, 2012 at 1:29 pm
Thanks Jeff Moden for the highly detailed answer. This is exactly what I needed. I really appreciate the input.
June 11, 2006 at 1:12 pm
I fixed the sql by using the variables from the first cursor to retrieve my rows in the second cursor. I'm only selecting the rows that match the pri keys...
November 26, 2003 at 3:48 pm
Thank you for the input. I think the sql solution will help.
August 14, 2003 at 6:31 am
Viewing 14 posts - 1 through 14 (of 14 total)