remove junk characters in timestamp in BQ table [closed] - sql

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 months ago.
Improve this question
Experts im getting junk characters in my timestamp, while to load in bq it failed. i tried regexp with following format
REGEXP_REPLACE(str,'[^[a-z,A-Z,0-9]]*',' ').it behave weird
as is :2022-06-28T06^%^3A55^%^3A01.452Z
expected:2022-06-28T06:55:01.452Z
Please help me on this
Thanks in advance

I think this will work for you sample in bq select REGEXP_REPLACE('2022-06-28T06^%^3A55^%^3A01.452Z',"[\D\W]{3}[\d\w]{2}",':')

Related

Why aliasing not work in this query in Oracle Database? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 months ago.
Improve this question
enter image description here
In the above query why aliasing does not work properly and it gives error?
enter image description here
When i remove the as keyword it works fine but why?
The AS is only recommended for columns. To give an alias to a table you never use AS.

Is any possible to split string in Informix db 11.70? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I was searching already a while and still i am not sure there is any function to split string in Informix db 11.70? Should I write my own function to make my task real or I missed something?
I think you are looking for SUBSTR function,
please refer to this page list of string manipulation functions:
https://www.ibm.com/support/knowledgecenter/SSGU8G_14.1.0/com.ibm.sqls.doc/ids_sqs_0258.htm#ids_sqs_0258

Simplest JSON Schema documentation generator [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I've spent a few off-clock hours looking for a stupid easy way to take my JSON Schema file as input and generate some kind of human-friendly output. I don't even care what format that output is at this point, as long as it is complete-ish. Thanks for any insight.
Have a look at the following util from cloudflare: https://github.com/cloudflare/doca

JSON big query = pass the schema [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Create table in GBQ with JSONed dataset.
could you give an example on this ?
Thanks in advance !
regards,
Ajith
found the answer
command -
./google-cloud-sdk/bin/bq load --source_format=NEWLINE_DELIMITED_JSON test_schema:test_dataset.test_table_name gs://test_gs_location/* ./test.json

How can i INSERT UPDATE EDIT SEARCH to DataGridView by SQL [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I got stuck on this a long time and can't get the answer because most of answer is for Asp.net not VB.net how can i do such a easy things ?
Dar friend
Take look to the following Tutorial for the beginner it will help you
Link
Link
Link
Link