Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
50 views

I have nodejs 25.0.0 and node-adodb. I am trying to insert into a MS Access database in a table that has a primary key (ID) that is set to auto-increment and has "required" set to true. I ...
-1 votes
0 answers
20 views

I've heard a lot that UUID v7 is performing much better in databases, when using it as primary key, due to the nature of how B-tree works. We have a huge problem with current implementation of PK as ...
6 votes
3 answers
224 views

I have a SQL Server database I mostly interact with using EF Core in a .NET project: I'll analogize my domain logic for simplicity. I have a Fruits table holding general fruit data in columns Weight, ...
-3 votes
1 answer
88 views

I can't get Snowflake to enforce a PK on an auto-increment column. The below code should not work, but, it does: CREATE OR REPLACE TABLE IDENTITYTEST ( ID INT AUTOINCREMENT START 1 INCREMENT 1, ...
-2 votes
2 answers
169 views

I'm trying to create this partitioned table in my PostgreSQL database: create table messages_table ( id bigserial not null, class_name varchar(255), date_created timestamp, service ...
1 vote
1 answer
123 views

I was using CockroachDB previously, where I used unique_rowid() as my primary key, which generates a 64-bit timestamp-based unique ID (18-digit, time-sortable). I've now migrated to PostgreSQL and ...
0 votes
3 answers
113 views

Given a table structure like foreign_id type payload 1 A I 1 B II 2 A III with a named constraint (could be primary key, could be any other unique key) like tbl_pk(foreign_id,type) I would like to ...
0 votes
0 answers
67 views

I get this exception: The entity type 'TblCentrale' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. This is the code in ...
0 votes
1 answer
79 views

I’ve been learning GORM from the official docs, and I’m running into some confusion when trying to create records from a map using the Create() function. The official documentation shows this example ...
1 vote
1 answer
139 views

In Entity Framework Core 7, I have the following entity: [Index(nameof(Time))] [Table("DataEntries")] public class DataEntry { [Key, DatabaseGenerated(DatabaseGeneratedOption.None)]...
2 votes
0 answers
90 views

I am trying to create a partitioned table by range on a rails application (7.2). I am using the create_range_partition function from the pg_party library. I want to set a composite pk on this table ...
0 votes
0 answers
170 views

I need to create a Postgres table partitioned by range. The partitioning approach is essential because the table will need to store large volumes of data and be queried frequently. The plan is to set ...
0 votes
1 answer
87 views

I am trying to describe the schema of this kaggle dataset. Are there primary keys? If there are primary keys, how do I figure out which they are? Which columns are foreign keys? # Reconnect to the ...
1 vote
1 answer
42 views

I have table orders in an SQLite database: CREATE TABLE orders ( clientId INTEGER NOT NULL, listId INTEGER, exchangeId NOT NULL, marketId NOT NULL, id INTEGER NOT NULL, ...
0 votes
0 answers
88 views

Im trying to copy initial table data around 100 to 200 GB to a file in text format.I created a connection-1 and started a transaction with isolation level REPEATABLE READ and exported a snapshot to ...

15 30 50 per page
1
2 3 4 5
...
306

AltStyle によって変換されたページ (->オリジナル) /