Viewing 15 posts - 5,641 through 5,655 (of 7,636 total)
Yeah, that is an illegal datetime value.
Look at the output from this slightly modified example:
declare @statexml as xml
set @statexml = '<data>
<main>
<row number="1" modified="aoMODIFIED">
<order_id modified="False" type="String">CS0808240001</order_id>
<eta_date modified="False" type="DateTime">2008-08-25T00:00:00</eta_date>
<eta_time modified="False" type="DateTime">1900-01-01T10:00:00</eta_time>
</row>
</main>
</data>'
select
...
September 2, 2008 at 9:37 am
oops, sorry. It's missing the "END" statement at the end of the procedure.
September 2, 2008 at 9:27 am
Simon_L (8/14/2008)
if something is functionally dependant it can be uniquely determined by another attribute. But a publisher_city...
September 1, 2008 at 8:08 pm
No, it's like this:
Create EVENT NOTIFICATION NotifyALTER_T1
ON DATABASE
FOR ALTER_TABLE
TO SERVICE 'NotifyService',
'current database';
September 1, 2008 at 7:31 pm
Oh, I see, you are using the GUID printed in the example in BOL. Well, that won't work. You need to execute the aforementioned command and check the...
September 1, 2008 at 6:58 pm
MANU (9/1/2008)
...CREATE EVENT NOTIFICATION NotifyALTER_T1
ON DATABASE
FOR ALTER_TABLE
TO SERVICE 'NotifyService',
'8140a771-3c4b-4479-8ac0-81008ab17984';
...
Why are you using an explicit ID for your broker_instance? You should be using 'current database' here....
September 1, 2008 at 6:53 pm
Of course we use a startup procedure to define the UDT's in TempDB.
September 1, 2008 at 4:51 pm
Questions:
1) Are you doing the ALTER TABLE commands on the same database? (LoggingDemo?)
2) Could you Drop and re-Create the Server Event Notification?
Thanks
September 1, 2008 at 4:22 pm
GilaMonster (9/1/2008)
rbarryyoung (8/31/2008)
September 1, 2008 at 3:57 pm
Well I do not see anything wrong with the Service Broker items. Can you execute the following script and post the results:
select * from sys.service_broker_endpoints
select * from sys.event_notifications
select *...
September 1, 2008 at 3:42 pm
I don't think that you need the xs:dateTime function. Try it like this:
select
nref.value('order_id[1]','varchar(50)') order_id,
nref.value('eta_date[1]','varchar(50)') eta_date_orig,
nref.value('eta_date[1])','datetime') eta_date1,
nref.value('(eta_date)[1])', 'datetime') eta_date
from
escalation_events
cross apply
statexml.nodes('/data/main/row') as...
September 1, 2008 at 2:44 pm
In SSMS, go to the databases's Service Broker section and script out all of the non-system items: Message Types, Contracts, Services, Queues. Routes and Remote Service Bindings. Sorry, but...
September 1, 2008 at 1:02 pm
This was already explained in the discussion attached to this question. Please go there.
August 31, 2008 at 10:40 pm
Viewing 15 posts - 5,641 through 5,655 (of 7,636 total)