Category "database"

NodeJS MySQL DB connection fail

thank you in advance for the help. I am using nodejs v16.13.1 and mysql 5.7.37-cll-lve. my nodejs app is currently on my local machine and my mysql db is on a r

Is Consistency is responsible for not allowing users to see data which is not committed in ACID?

Which property gives assurance that multiple data readers won't see uncommitted data? A. Isolation B. Atomicity C. Consistency D. Durability I believe the an

How to apply max function in a join query?

I am new to SQL Server, I have 3 tables consider an employee table empid name location 1 abc USA 2 efg UK Another table named location-table location holida

How to Laravel Mysql fetch data from database using multiple table join

This is my data retrieving query: $admin_students=DB::select("select students.*,application_record.*,gender_record.*, application_record.id as app_primary_id,ap

After milvus is started, where is the newly inserted data stored?

I follow this link to start Milvus1.1.1. After I started it successfully, I inserted some data into it. But I don't know where my data is saved.

"Illegal argument to function" in Postgres when doing select on a view with pgp_sym_decrypt() expression

I am using pg_sym_decrypt/encrypt to decrypt/encrypt some of the fields in my table. Decryption happens on select in a separate EntityComputed view that has a o

Web scraping from html code of a database using python

I am new to python and am learning things slowly. I have earlier performed API calls from databases to extract infromation. However, I was dealing with a partic

DBMS stored procedure- get values from existing table

I have a table Age_cal, Vaccine Information and Medical_information table as follows: I am trying to write a stored procedure where, I will be able to insert

How to execute SQL query for selection of info from more than 1 table

I wanted to select values from one table according to another table I have a booking system with 'user' information table and 'appointment table', they have col

How to populate options of h:selectOneMenu from database?

I am creating a web application, where you have to read a list of objects / entities from a DB and populate it in a JSF <h:selectOneMenu>. I am unable to

Are there any Datastructure and Database feature that could handle tag of tags?

I want to categorize data to search for content that can be tagged. However I want a tag to have relationship with other tag too and so it could be searched for

nodejs oracledb performance diff by the way of binding params

I wonder if there is a performance difference between below cases. nodejs oracledb lib - express server connection code - 1 query, 1 connection whenever I send

How to handle data in development, staging and production databases?

If you have a local database, Staging/UAT database, Production database 1)Say 10 developers have the database script to generate the database (I'm using liquiba

What is the difference between "rest/sql" and "rest/sqlutc" in TDengine's RESTful API

TDengine support RESTful apis, they are like "rest/sql", "rest/sqlt" and "rest/sqlutc". I know that "rest/sqlt" return timestamp as long. But I dont know what i

sql connection to populate table condenses rows

I have an Excel sheet that has a connection to SQL server to generate some table data into the spreadsheets. There is a strange issue where the spreadsheet get

sql connection to populate table condenses rows

I have an Excel sheet that has a connection to SQL server to generate some table data into the spreadsheets. There is a strange issue where the spreadsheet get

Can't store Files in public folder in Laravel 8

i'm trying to store pdf, txt... in DB but i get this error: Method Illuminate\Validation\Validator::validateCsv,txt,xlx,xls,pdf does not exist. but when i add r

Dplyr summarize "sum" function works correctly only for subset not the larger dataset in R

I have a dataset where I sampled abundance of 4 species across 12 months, 6 sites (5 replicates within a site). I am trying to calculate various summary stats (

knex migration - 'ER_INVALID_DEFAULT: Invalid default value for 'timestamp'

I have a knex chema migration to create a table, with the line - exports.up = async function(knex) { return knex.schema.createTable("newTable", table => { ta

knex migration - 'ER_INVALID_DEFAULT: Invalid default value for 'timestamp'

I have a knex chema migration to create a table, with the line - exports.up = async function(knex) { return knex.schema.createTable("newTable", table => { ta