Viewing 15 posts - 1 through 15 (of 15 total)
This is resolved. Thanks.
August 10, 2022 at 8:00 am
If is about Processed = Yes or No in the first case statement then OK but has no bearing on the technique, right?
I cannot see where the missing...
August 10, 2016 at 9:32 am
Thanks. I made a change to the syntax and the Jobno was not retrieved:
Update B
set B.[Processed] =
case when (T.[XMLResponse].exist('/Boot/ErrorDetails')=1)
Then 'YES'
else 'NO'
End,
TB.[Jobno] =
case when (T.[XMLResponse].exist('/Boot/ErrorDetails')=0)
Then T.[XMLResponse].value('(/Boot/Jobs/Job_entered/@Jobno[1]','varchar(255)')
End
from Table_B T inner join Table_A...
August 10, 2016 at 8:40 am
Thanks. The Table_B with the XML is a Temporary table that has the results of some data processing; so is a form of a staging table.
The idea is that after...
August 10, 2016 at 8:29 am
Though it did not solve the problem but it helps. This was a typo from me.
The issue is i am trying to update a couple of rows in a join...
August 10, 2016 at 8:24 am
Sorry and i thank you very much.
I was using windows account before and it failed to run under that context.
I have created a SQL server account and that works.
interestingly...
July 26, 2016 at 2:44 am
It is in a mixed mode (SQLserver and Windows Authentication mode)
Thank you for having a look at this for me. The problem is still occuring.
July 26, 2016 at 1:54 am
Thank you. The Browser service is running as started and on automatic on remote server called Server1. I have changed the name to just server1 but i get the below...
July 25, 2016 at 7:07 am
Sorry i pasted the wrong info earlier on. This is the right information used to create the Linked server that failed:
USE [master]
GO
EXEC master.dbo.sp_addlinkedserver @server = N'SERVER1\MSSQLSERVER', @srvproduct=N'SQL Server'
GO
EXEC...
July 22, 2016 at 8:04 am
USE [master]
GO
EXEC master.dbo.sp_addlinkedserver @server = N'SERVER1\MSSQLSERVER', @srvproduct=N'SQL Server'
...
.....
GO
USE [master]
GO
EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname = N'SERVER1\MSSQLSERVER', @locallogin = NULL , @useself = N'False', @rmtuser = N'admin.fraka', @rmtpassword = N'xxxxxxxx'
GO
is this helpful?
July 22, 2016 at 8:00 am
not sure if sql 2000, a legacy database can do this. I will have a look.
June 18, 2016 at 11:42 pm
Thank you for reply. But
if the address 1 column of the table has [8 jumbo square] but user wants [8 Park View] then Left(@address1,1) will pick both [8 Jumbo Square]...
June 18, 2016 at 11:40 pm
Thank you for the response.
I forgot to add this specific:
I need the XML declaration on top of XML String as well.
I also want to leave out the element NewParameter for...
May 9, 2016 at 4:18 am
Thank you it works but how do i include the
<?xml version="1.0" ?>
so that i can pass this on as a XML parameter to a stored procedure.
I appreciate your help...
May 9, 2016 at 2:33 am
Viewing 15 posts - 1 through 15 (of 15 total)