Skip to main content
0 votes
1 answer
118 views

I am looking to combine the following two LIKE string comparisons into one LIKE string comparison: SELECT * FROM dbo.Departments D WHERE D.SystemKey LIKE 'SCI%' OR D.SystemKey LIKE 'FOO%'; I have ...
Fletch's user avatar
  • 377
0 votes
0 answers
43 views

consider: CollectionReference _dbCollection = FirebaseFirestore.instance.collection('estoque'); await _dbCollection.orderBy("descricao").startAt([_itemPesquisaController.text]).endAt(['${...
Rodrigo Costa's user avatar
0 votes
1 answer
49 views

I have a database structure like below users id | name 1 | Elizabeth Smith 2 | Smith Elizabeth 3 | Elizabeth Smith // extra space in between two words 4 | Dr.Elizabeth Smith 5 ...
Sing O Song's user avatar
0 votes
3 answers
57 views

I create an index this way: CREATE INDEX rep_tval_idx ON public.rep USING btree (t, lower(left(val, 127))); Then I run a SELECT with matching filter: explain select * from rep where t=3 and lower(...
Alexey Sam's user avatar
0 votes
1 answer
92 views

I am moving data from one system to another. The new system has a requirement that one of the columns can "ONLY have letters, numbers, hyphens and underscores". I need to find a way to see ...
Vaccano's user avatar
  • 83.3k
0 votes
1 answer
60 views

procedure 1: create or replace procedure pro_1() as $$ begin raise info 'pro1'; end $$ language plpgsql; procedure 2: create or replace procedure pro_2() as $$ begin raise info 'pro.1'...
MAK's user avatar
  • 7,345
2 votes
1 answer
62 views

SELECT products.*, products_description.* FROM products LEFT JOIN products_description ON products_description.products_id = products.products_id LEFT JOIN products_rooms ON ...
Clive's user avatar
  • 41
0 votes
0 answers
135 views

I have a list of c.11k strings that I need to partially match to string IDs within a BigQ table. T1 is the original BQ table and T2 is a table with a column of the 11,000 strings At the minute I have ...
Newbiee6977's user avatar
0 votes
2 answers
121 views

I'm trying to get records from SQL server starting with abc_ followed by at least one letter (a-z, A-Z) and then continue to the end with just letters and numbers (a-z, A-Z, 0-9). No special ...
AdamN's user avatar
  • 1
0 votes
1 answer
137 views

I have a SQL table where the last column is named flag: name: type: collation: null: default: ... flag varchar(250) utf8mb4_0900_ai_ci yes NULL The data has either double ...
melonlemon's user avatar
0 votes
0 answers
78 views

I am having trouble excluding text in a field that starts with "Community Launch". I am using the code: rp.project_name NOT LIKE 'Community Launch%' but this is removing any text that also ...
Daniel's user avatar
  • 9
0 votes
1 answer
195 views

I have a leading wildcard query I know it is hard to optimize. I know if I use only the trailing wildcard I can do some optimization. But our client wants the leading wildcard because when searching ...
Qiulang's user avatar
  • 12.9k
0 votes
1 answer
87 views

I use ruby and sequel in my programm. I want to execute a deletion in my DB like DELETE FROM db.tbl WHERE col1 = 'a' and (col2 LIKE '%xxx%' OR col2 LIKE '%yyy%') But I fail to build the statement ...
knut's user avatar
  • 28k
4 votes
2 answers
913 views

I'm working on a Laravel application with a jobs table containing job data in the payload column. The payload is a JSON string similar to this: {"displayName":"App\\Jobs\\V1\\...
goodUser's user avatar
  • 518
0 votes
2 answers
38 views

I am trying to select all the strings has word ABC1 in it. But getting wrong answer with LIKE query. Not sure how to get exact answer. Below is the string format in a column: "SomeString ABC1000 ...
Yashawant Sawant's user avatar

15 30 50 per page
1
2 3 4 5
218