Skip to main content
0 votes
0 answers
84 views

I'm working on a project for work, where initially I was going to store a time in a datetimeoffset field in a table. I only care about the time and not the date, so I was going to use a placeholder ...
John Roa's user avatar
0 votes
3 answers
77 views

Suppose I have this table and values: DECLARE @TEST AS TABLE ( GroupId INT NOT NULL, ItemId INT NOT NULL, Ref1 NVARCHAR(10) NULL, Ref2 NVARCHAR(10) NULL ) INSERT INTO @TEST VALUES (1, ...
EMAW2008's user avatar
  • 339
-4 votes
0 answers
48 views

I am making a weekly rota. I have managed to duplicate a SQL database row in a table using this code below and used a CASE expression to apply the modified data to the duplicated rows. The problem I ...
kumbi's user avatar
  • 61
-1 votes
0 answers
92 views

I'm trying to insert distinct values from one table column into another with this: insert into animals select distinct trim(s.value) from all_animals t cross apply string_split(speciesname, ',') s; ...
Pri Pri's user avatar
  • 19
Advice
1 vote
11 replies
81 views

Our company moved a server to the AWS cloud not too long ago. We use some software the stores info into a SQL database. Normally before the cloud we are trained to use Excel to connect to one the ...
BEE's user avatar
  • 1
Best practices
2 votes
2 replies
95 views

I'm doing text search with user entered queries against multiple sources documents. The user can enter 16 MB or 16MB and the document can contain one or the other. I could not make it with pure text ...
Clodoaldo Pinto's user avatar
-4 votes
0 answers
73 views

On the first run of this Oracle 11g SQL query I unexpectedly get no result. When I run a second time, the DBMS re-evaluates the execution plan and I get the expected result. In a test if this query is ...
Jan S.'s user avatar
  • 323
-1 votes
1 answer
78 views

I am making weekly rota. I have managed to duplicate a SQL database row in a table using this code: $test = "2026-03-02"; $sql = "INSERT INTO myrota (weekstart, shift, employid, name, ...
kumbi's user avatar
  • 61
3 votes
1 answer
111 views

I want to add the unaccent extension in the text search. Configuration: create extension if not exists unaccent; drop text search configuration if exists portugues_sem_acento; create text search ...
Clodoaldo Pinto's user avatar
1 vote
1 answer
88 views

I have the following db2 table with data that looks like this: KID_ID F_NAME L_NAME TOY_NAME HAS_IT 1 ABC DEF CAR NO 1 ABC DEF BALL NO 2 HIJ LMN CAR YES 2 HIJ LMN BALL NO 3 XYZ 123 CAR NO 3 XYZ 123 ...
Jason Miles's user avatar
1 vote
2 answers
87 views

self.cur.execute("DROP TABLE IF EXISTS analysisResults") self.cur.execute("""CREATE TABLE IF NOT EXISTS analysisResults( subjectID INTEGER ...
Jack Walker's user avatar
-2 votes
1 answer
37 views

I want to group data by time intervals and then count the number of records that meet specific conditions within the Table Model of Apache IoTDB 2.0.6. However, my query execution failed. Below are ...
MGS's user avatar
  • 11
0 votes
4 answers
123 views

I'm wondering if it is possible to use an Access SQL query that selects a value of a column of a table identified by a value of another table. For example I have tables A, B, C and D: A: ID_A tbl ...
sp64's user avatar
  • 27
Advice
0 votes
8 replies
106 views

I have heard of SQLite, MySQL and other dialects of SQL. How do they differ? Where do you use which one? Which ones are the most used? What is the purpose of this?
Filledipp's user avatar
-3 votes
0 answers
91 views

Need help understanding the title error, received in connection with the subquery below. For a little context, the REFTABLE used in the last two joins is (in my view) a poorly thought out table where ...
Joseph Cavasin's user avatar

15 30 50 per page
1
2 3 4 5
44955