Viewing 15 posts - 1 through 15 (of 17 total)
You need to 'anchor' the query to the entity as well:
SELECT
ROW_NUMBER() OVER (ORDER BY e.value('(./@Id)','int')) AS EntityNumber,
e.value('(./@Id)','int') AS EntityId,
e.query('(./GROUP/RISKGROUP/RISKKEYITEM[@Name="donotshow_EntityGroupRepeatIndex"])') AS EntityRKI,
t.RiskXML
FROM
@table t
CROSS APPLY t.RiskXML.nodes('//ENTITIES/ENTITY') Entities(e)
That returns what I...
Training cats makes SQL Server look easy
April 4, 2013 at 7:16 am
Interesting.
If you run:
select * from msdb.dbo.backupset where database_name='<insert you database name here>'
on the original box are you getting anything returned?
That table stores the backup 'run' information. So you should...
Training cats makes SQL Server look easy
October 17, 2012 at 2:51 am
Peter2012 (10/16/2012)
Hi,I've executed the query on my DR server where I've restored the DB, but there is no output.
Hi,
This is the problem. SQL Server records the backup information in the...
Training cats makes SQL Server look easy
October 16, 2012 at 5:35 am
ranganathleo (9/27/2012)
Thanks Grasshopper. I am planning to register all the servers in SSMS but looking out for a query which does the same
Unforunately there's no way to query a remote...
Training cats makes SQL Server look easy
September 27, 2012 at 7:03 am
If it's the number of servers you need to run this on that's the problem, then you have a couple of non pure SQL options as well (assuming they aren't...
Training cats makes SQL Server look easy
September 27, 2012 at 6:24 am
Yes, that's all doable. The only thing the existing contractor could do is refuse to allow it to be connected to 'their' network, though that'd be getting very petty.
I'm assuming...
Training cats makes SQL Server look easy
February 4, 2012 at 11:24 am
johnitech.itech (2/2/2012)
we are experiencing the following error when backing up :
A nonrecoverable I/O error occurred on file "" BACKUP DATABASE is terminating abnormally.
Reading some posts on this forum I...
Training cats makes SQL Server look easy
February 2, 2012 at 5:18 am
rakeshraj.sinha (2/2/2012)
I have implemented the SFTP using WinSCP. but, this third party tool does not return any success or failure flag,
How can I sure that file...
Training cats makes SQL Server look easy
February 2, 2012 at 2:22 am
Nope, it isn't possible without a 3rd party tool. As far as I know no current version of Windows ships with a built in SFTP client, though I'm happy to...
Training cats makes SQL Server look easy
February 2, 2012 at 2:10 am
Which SFTP client are you using?
Training cats makes SQL Server look easy
February 2, 2012 at 2:02 am
Do you have any disk space monitoring? Has another backup file grown large enough to fill up the space, but is then being deleted by a cleanup script running between...
Training cats makes SQL Server look easy
February 2, 2012 at 1:02 am
Just evict the old 'node' record, and then add the reinstalled node.
Don't try replacing the old node as that will only cause confusion later on.
Training cats makes SQL Server look easy
January 18, 2012 at 1:59 am
Is the procedure creating the empty folders for the backups? If not, it could be permissions
Have you tried running the script without the xp_delete_file line?
Training cats makes SQL Server look easy
January 17, 2012 at 6:53 am
Just to Clarify:
You have Windows Node A, which hosts SQL instances 1 and 2
You have Windows Node B, which hosts SQL instances 3 and 4
You have Windows Node C, which...
Training cats makes SQL Server look easy
January 17, 2012 at 6:31 am
That's a 'normal' warning.
It'll let you install SQL Server OK. But before you run SQL Server, download and install Service Pack 1 for SQL Server like it says.
You can 'install'...
Training cats makes SQL Server look easy
January 15, 2012 at 10:53 am
Viewing 15 posts - 1 through 15 (of 17 total)