Most answered questions in Database

0 votes
3 answers

What is Phantom deadlock?

To understand phantom deadlock, you need an ...READ MORE

Feb 13, 2019 in Database by Ravi kumar
3,098 views
0 votes
2 answers

How to select the nth row in a SQL database table?

SELECT * FROM ( SELECT ID, NAME, ROW_NUMBER() ...READ MORE

Apr 23 in Database by anand
• 140 points
1,403 views
0 votes
2 answers

Why is SELECT * table_name; is considered harmful?

Hi. Adding to @Tina's answer, there is ...READ MORE

Sep 23, 2019 in Database by Raghu
94 views
0 votes
2 answers

How to create a shared database for users for different systems to connect to a single database in another system.?

Like Omkar said, while presenting your project ...READ MORE

Mar 18, 2019 in Database by Vardhan
• 13,180 points
136 views
0 votes
2 answers

MySQL "Could not create connection to database serve" error

When I am trying to connect netbeans ...READ MORE

Apr 14, 2019 in Database by anonymous

edited Apr 15, 2019 by Kalgi 8,123 views
+1 vote
2 answers

Difference between SQL and PL/SQL

In Oracle database administration, there are two ...READ MORE

Sep 25, 2019 in Database by gautham
288 views
0 votes
2 answers

Advantages and Disadvantages of Stored Procedure

https://www.quora.com/What-are-the-advantages-of-using-an-SQL-store ...READ MORE

Apr 29, 2019 in Database by anonymous
9,795 views
0 votes
2 answers

Types of relationships in Database

There are 3 types of relationships in ...READ MORE

Aug 16, 2018 in Database by zombie
• 3,750 points
87 views
0 votes
2 answers

SQL vs NoSQL

Well, it depends on what you are ...READ MORE

Aug 10, 2018 in Database by slayer
• 29,280 points
117 views
0 votes
2 answers

Database Lock and its types.

Hello Dataking99, A database lock is used to ...READ MORE

Apr 20 in Database by Niroj
• 22,110 points
70 views
0 votes
2 answers

Durable Writes in Cassandra

When Cassandra write: 1. memtable (in memory) 2. commit ...READ MORE

Nov 25, 2018 in Database by Amit
• 180 points
2,670 views
0 votes
1 answer

Generate mongod.conf for tarball installtion

Hi,@kailas, To run a mangod process as a daemon ...READ MORE

4 days ago in Database by Gitika
• 29,170 points
26 views
0 votes
1 answer

How to detect a SQL table's existence in Java?

Hello, Depending on the DB, you can do ...READ MORE

May 13 in Database by Niroj
• 22,110 points
37 views
0 votes
1 answer

Error:Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]

Hii @kartik, I was also facing the same ...READ MORE

May 13 in Database by Niroj
• 22,110 points
51 views
0 votes
1 answer
+1 vote
1 answer

How to migrate a PostgreSQL database into a SQLServer one?

Hello @kartik, The easier way to accomplish this. First ...READ MORE

May 13 in Database by Niroj
• 22,110 points
36 views
0 votes
1 answer

What to combine two tables into one.

Hii Nikola, I think you need to UNION ALL otherwise you ...READ MORE

May 21 in Database by Niroj
• 22,110 points
50 views
0 votes
1 answer

How can Mysql database sync between two databases?

Hii, Some simple rules you will have to ...READ MORE

May 4 in Database by Niroj
• 22,110 points
29 views
0 votes
1 answer

Why do we need Transaction in Hibernate for read-only operations?

Hello @kartik, It doesn't matter whether you only ...READ MORE

May 4 in Database by Niroj
• 22,110 points
21 views
0 votes
1 answer

How to take MySQL database backup using MySQL Workbench?

Hii, You can export like this: Hope this is ...READ MORE

May 4 in Database by Niroj
• 22,110 points
25 views
0 votes
1 answer

How to schedule a job for sql query to run daily?

Hii, To schedule a job for sql query ...READ MORE

May 4 in Database by Niroj
• 22,110 points
25 views
0 votes
1 answer

How do I kill all the processes in Mysql “show processlist”?

Hello kartik, Mass killing operation saves time. Do it ...READ MORE

May 4 in Database by Niroj
• 22,110 points
29 views
0 votes
1 answer

How to empty a redis database?

Hello @kartik, You have two options: FLUSHDB - clears currently ...READ MORE

May 4 in Database by Niroj
• 22,110 points
18 views
0 votes
1 answer

Error Code: 2020. Lost connection to MySQL server during query

Hello @kartik, I got the same issue when ...READ MORE

May 4 in Database by Niroj
• 22,110 points
56 views
0 votes
1 answer

MySQL Error: : 'Access denied for user 'root'@'localhost'

Hello @kartik, I did this to set my ...READ MORE

May 4 in Database by Niroj
• 22,110 points
75 views
0 votes
1 answer

Warning: mysql_connect(): [2002] No such file or directory (trying to connect via unix:///tmp/mysql.sock)

Hii I was having the same problem and ...READ MORE

May 4 in Database by Niroj
• 22,110 points
20 views
0 votes
1 answer

Error:Import SQL dump into PostgreSQL database

Hello, Here is the command you are looking ...READ MORE

May 4 in Database by Niroj
• 22,110 points
24 views
0 votes
1 answer

How can I connect databases server to EC2 server?

Hi@Trinu, You can create one database in AWS ...READ MORE

May 1 in Database by MD
• 22,520 points
33 views
0 votes
1 answer
0 votes
1 answer

ERROR 1006 (HY000): Can't create database 'test' (errno: 2) in mysql

Hi@akhtar, You have to change the permissions or ...READ MORE

Apr 14 in Database by MD
• 22,520 points
104 views
0 votes
1 answer

Sir please tell me how to import image in database?

Hello soumadip, (Assuming you are using mysql database) You ...READ MORE

Apr 1 in Database by Niroj
• 22,110 points
67 views
0 votes
1 answer

Can't connect to mysql server in workbench. Kindly please support. username: root & Password: 1234 (i gave)

Hey, @Arivukani, You can see once thing, the solution ...READ MORE

Mar 30 in Database by Gitika
• 29,170 points
86 views
0 votes
1 answer

Interface for MariaDB after installed in Window

If you are talking about a Graphical ...READ MORE

Mar 16 in Database by Sirajul
• 52,930 points
62 views
0 votes
1 answer

MariaDB for window 10 Beginner

Refer the following: To know how to install ...READ MORE

Mar 16 in Database by Sirajul
• 52,930 points
78 views
0 votes
1 answer

Which is the Preferred Method of Storing Passwords In Database?

Generally, we can use the sha hash ...READ MORE

Oct 11, 2019 in Database by Omaiz
• 560 points
174 views
0 votes
1 answer

Query to list number of records in each table in a database

Use the below code to list number of ...READ MORE

Oct 11, 2019 in Database by Omaiz
• 560 points
105 views
0 votes
1 answer

How to connect to MySQL Database?

Firstly you must download the MySQLConnection NET ...READ MORE

Oct 11, 2019 in Database by Omaiz
• 560 points
122 views
0 votes
1 answer

Which is better database vs. flat files?

Difference between database and flat files are ...READ MORE

Oct 11, 2019 in Database by Omaiz
• 560 points
169 views
0 votes
1 answer

Reorder or reset auto increment primary key

To reset the IDs of my User ...READ MORE

Oct 4, 2019 in Database by Daric
• 500 points
250 views
0 votes
1 answer

How to check if a table exists in a given schema

Since you havent mentioned the DBMS in ...READ MORE

Oct 4, 2019 in Database by Daric
• 500 points
324 views
0 votes
1 answer

MySQL query finding values in a comma separated string

To find MySQL query values in a comma-separated ...READ MORE

Oct 4, 2019 in Database by Daric
• 500 points
145 views
0 votes
1 answer

How does database indexing work

If you have a book about dogs ...READ MORE

Oct 4, 2019 in Database by Daric
• 500 points
42 views
0 votes
1 answer

Can we store images in database

Beware that serving images from DB is ...READ MORE

Oct 4, 2019 in Database by Daric
• 500 points
51 views
0 votes
1 answer

showing an error in a MySQL trigger

use this code: CREATE TRIGGER sample_trigger_msg ...READ MORE

Sep 27, 2019 in Database by Omaiz
• 560 points
74 views
0 votes
1 answer

How do I reset a sequence in Oracle?

 If you want to set it to ...READ MORE

Sep 27, 2019 in Database by Omaiz
• 560 points
84 views
0 votes
1 answer

Why is SELECT * considered harmful?

If you add fields to the table, ...READ MORE

Sep 27, 2019 in Database by Omaiz
• 560 points
66 views
0 votes
1 answer

Which is faster/best? SELECT * or SELECT col1, col2,......colN

There are four big reasons that select * is ...READ MORE

Sep 27, 2019 in Database by Omaiz
• 560 points
55 views
0 votes
1 answer

How to load data of .csv file in MySQL Database Table?

At first, put the dataset in the ...READ MORE

Jul 5, 2019 in Database by Reshma
351 views
0 votes
1 answer

How can I change my existing database name?

Hey Partha, I understand your problem, I think this ...READ MORE

Jul 4, 2019 in Database by sampriti
• 1,100 points
61 views
+1 vote
1 answer

Do I need to mention primary key for each table?

Hi Pritha, First, there is no hard and ...READ MORE

Jul 4, 2019 in Database by sampriti
• 1,100 points
130 views