SQL Query - How to find a field with two or more same characters in it [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 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!

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

Comparing Two SP's Performance SQL Server [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
there is any simple way to know which one of two SQL Store procedure works better?
Click the Include Actual Execution Plan before running both sp (on the same run) and check the percentages

What does 'indexes' do in sql query [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 6 years ago.
Improve this question
I come to know that this is used to speed up data retrieval..I like to know more about it .Thanks .
Indexing is a way of sorting a number of records on multiple fields. Creating an index on a field in a table creates another data structure which holds the field value, and pointer to the record it relates to. This index structure is then sorted, allowing Binary Searches to be performed on it.

I am looking for a SQL script to sync a table from db A to db B [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 7 years ago.
Improve this question
I am still learn SQL and I need to have table A sync'd to table B in a different DB. Does anyone have a script to do that or point me in the right direction.
Thanks
INSERT INTO current_DB.A
(SELECT * FROM another_DB.B)

Binary search works best with which data structure? [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
Binary search works best with which data structure?
One that is sorted and allows random access.