what is difference between '%[^0-9.-]%' and '%[^0-9]%' in regular expression [closed] - sql

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
Can someone please explain for what reason we use .- in the regular expression and what is difference between '%[^0-9.-]%' and '%[^0-9]%'

%[^0-9.-]% will include period '.' and dash '-' characters, while %[^0-9]% will not

Related

NULL in SQL need it Removed [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 months ago.
Improve this question
I would like to remove the "Null" in my week Column. Any help? I tried screenshots provided
error
what i tried
I think you could try:
delete from [BKC_Menu_Analysis].[dbo].[FBBKCCompsWeekly] where week is NULL

SQL ( How do I use the CONCAT function) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
How do I use the CONCAT function on SQL.
That is pretty straightforward
SELECT CONCAT('hey', 'ho');

Google OR example for column generation [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
Are there any examples of the code for the Column generation problem (cutting stock problem or any other problem) using google OR tools in C++?
Yes, as the name suggests, this does the job:
https://github.com/google/or-tools/blob/stable/examples/cpp/strawberry_fields_with_column_generation.cc

Designing DFA to accept language of even length beginning with 11 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Design a DFA to accept language L={w|w is of even length and begins with 11} where inputs are 0'a and 1's?
i think this DFA will work with even no of length and starting with 01 string.

SQL Query - How to find a field with two or more same characters in it [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm using SQL Server DB and I would like to write query which will look for a fields with two or more slashes in it, lets say we have these rows:
1. abc/def/g
2. abcd/efg
3. a/b/c/d/e/f/g
So it should return 1st and 3rd row! What is the easiest way to do so?
Thanks in advance!