Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Need some help...
Post Flair (click to view more posts with a particular flair)
Post Body

I inherited some SQLs and I dont really know how to morph them. This query fetches all the columns of the database where the data is stored in one cell as an XML. So first we serialized it and then search for the string.

What I need now, is to change this to a COUNT...I just want to know across this timespan how many time this occurs.

What god can help me?

SELECT ORIGINATING_APPLICATION_NAME,ORIGINATING_MESSAGE_ID,SERVICE_NAME,TRANSACTION_ID,USERNAME,PLAN_CODE,ORIGINATION_TIMESTAMP,

EVENT_PERSISTENT_TIMESTAMP,ENTRY_POINT_ADDRESS,SERVICE_VERSION,SERVICE_RETURN_CODE,ORIGINATING_USER_ID,LOG_EVENT_ID,SUPPLEMENTAL_EVENT_DATA,

COMPONENT_IP_ADDRESS,COMPONENT_NAME,SERVICE_OPERATION,SERVICE_TYPE from  (

SELECT  APP.*,

XMLSERIALIZE(SUPPLEMENTAL_EVENT_DATA AS VARCHAR(30000)) AS XMLCHAR

FROM TBL.ANALYTIC_EVENT_APP APP

where (EVENT_PERSISTENT_TIMESTAMP between '2022-01-01-00.00.00.000000' and '2022-01-31-23.59.59.000000')

    and plan_code in ('XYZ')

) WHERE XMLCHAR LIKE '%<SearchOptions>First Name, Last Name,%'

Duplicate Posts
21 posts with the exact same title by 12 other authors
View Details
Author
Account Strength
100%
Account Age
6 years
Verified Email
Yes
Verified Flair
No
Total Karma
14,156
Link Karma
5,209
Comment Karma
8,825
Profile updated: 2 days ago
Posts updated: 1 year ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago