Quantcast
Channel: Oracle, MySQL, Sybase, Informix and other databases

Check if a table exists on database MySQL using Stored Procedure

Hi,Is there a way to check if a table exists on database MySQL using Stored Procedure?This is the SP, I expected when the table exists the variable value `titem_id` return 1 and when table not exists...

View Article


Image may be NSFW.
Clik here to view.

MySQL 5.5.62 group_concat with where clause

Hi all,I got this problem with `Group_Concat` and a `where` filter using query `INNER JOIN` and MySQL 5.5.62 version.This is the query (I'm sorry but if enter the query text the question is not...

View Article


MYSQL Error

I shut down my machine and restarted it. After that the mySQL stopped working and gives me error. Can't connect to MySQL server on 'localhost' (10061)

View Article

How Can i display the output of MySQL “PRINT” Command in C#?

Hello there,I am trying to run a mysql stored procedure using c# asp net.This stored procedure tried in mysql works fine.Instead tested on code behind of my project I have mysql syntax error.> ERROR...

View Article

problem of System.NullReferenceException : aspx, c# et mysql

Hello,I used SqlDataSource and mysql database and i've got a message of System.NullReferenceException that i doesn't find where is the problem.the error message is the following...

View Article


SQL Query to find all table names on a database with MySQL

These are tables list on database MySql version 8.0.17    t_contents_s300_10_2021    t_contents_s300_1_2021    t_contents_s300_2_2021    t_contents_s300_3_2021    t_contents_s34d_1_2021...

View Article

MySQL Stored Procedure IF multiple statement

Hi,this is my stored procedure on database MySql version 8.0.17CREATE DEFINER=`root`@`%`PROCEDURE`SP`(IN tun CHAR(100), tmonth CHAR(100))BEGINIFRIGHT(tun,2) = '00'THENSET @s = CONCAT('SELECT * FROM...

View Article

SQL Query to union all table names on a database with MySQL

Hi,I use this SQL query for find, in database MySql version 8.0.17, the tables whose name corresponds to the condition indicated in the clause LIKESELECT table_name FROM information_schema.TABLES WHERE...

View Article


Set rows value as column name using MySql version 8.0.17

Hi,I populate a table of a database MySql version 8.0.17, with an external file in csv format.This is the table filled with data from the external csv fileSELECT*FROM `t_contents_s3sv_1_2021` orderby...

View Article


DB2 Connectivity issue

I get the Unable to load DLL 'db2app64.dll': The specified module could not be founderror while trying to connect DB2 using IBM.Data.DB2.Core nuget package. Works fine in a console application, But not...

View Article

how to convert sql connection to odbc connection for Oracle database?

Hi,i need help to connect oracle database using ODBC connection. Right now this application is working using sql connection for sql database and i was able to insert data. so what i need to change on...

View Article

Deleting many rows from a big table MySql 5.5.46

Hi,The following statement deletes duplicate rows and keeps the highest idDELETE t1 FROM contacts t1INNERJOIN contacts t2 WHERE t1.id < t2.id AND t1.email = t2.email;This query references the...

View Article

How can I union all rows of two different tables using MySQL 8.0.17 version?

Hi,These are two tables of my MySQL database 8.0.17On these tables the corresponding column for each tables is the column tUnity-- ------------------------------ Table structure for t_release--...

View Article


Image may be NSFW.
Clik here to view.

Row to column transformation in MySQL version 8.0.17 using Pivot

HiUnfortunately MySQL does not have a PIVOT function which is basically for what I trying to do.I populate a table of a database MySql version 8.0.17, with an external file in csv format.This is the...

View Article

Find table name on the database using stored procedure on MySql 8.0.17

Hi,This is a list name of tables stored a database MySql version 8.0.17+------------------+| listTable |+------------------+| Table_A2_11_2021 || Table_L7_12_2021 || Table_C3_1_2021 || Table_D8_10_2021...

View Article


MySql version 8.0.17 average datediff

Hi, I need your appreciated helpIn the table stored an a database MySql version 8.0.17 I have these four field set as datetime...

View Article

Update table with chapters, paragraphs and paragraph content using MySql...

Hi, I need your help…In the table t_contents stored an a database MySql version 8.0.17 I have these rows+-------------------------+-------+-------+-----+| Contents | sID_c | sID_p | sID...

View Article


Image may be NSFW.
Clik here to view.

SQL Query with variable name table in Stored Procedure using MySql 8 version

Hi,This is my SQL query that working correctly and it's stored an a database MySql version 8.0.17(I'm sorry but if I'm paste the query code the question is not posted... does anyone know why?)I've...

View Article

EPPlus, .NET Core3 and setting value of Excel cell

Hi,Trying to get & update an existing cell's value:var q1 = worksheet.Cells["A11"].Value; // here I get a non-empty string worksheet.Cells["A11"].Value = "new string"; var q2 =...

View Article

How to Avoid Application getting hanged while working with Excel

Hi,I have below method which opens Excel (macro) in a windows application. internal void CEGForm(Project project, int quotationNo, string currencyCode, string reportname) { Excel.Application excelApp =...

View Article


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>