Skip to content Skip to sidebar Skip to footer
Showing posts with the label Mysql

How Can I Use Substring And Replace In One Sql-statement?

SELECT TOP 1 REPLACE(name, '*Deleted*', '' ) FROM OBJ_R) AS lastname and SELECT SU… Read more How Can I Use Substring And Replace In One Sql-statement?

Does Pyodbc Support Any Form Of Named Parameters?

I know sqlite3 has data = {'test_col': 012345679} sqlite3_conn.execute(''' … Read more Does Pyodbc Support Any Form Of Named Parameters?

Syntax Error In Sql Create Table

Hi I am trying to get more familiat with SQL and I am using MySql to test my SQL queries.I seem to … Read more Syntax Error In Sql Create Table

Optimize Sql That Uses Between Clause

Consider the following 2 tables: Table A: id event_time Table B id start_time end_time Every reco… Read more Optimize Sql That Uses Between Clause

How To Grant Mysql Privileges Only To A Specific Row

Imagine there is a student table student(id,name,city) I want to create a user A and grant permiss… Read more How To Grant Mysql Privileges Only To A Specific Row

Does Higher Rows Count In Mysql Explain Means Good Or Bad?

I have one old MyISAM table where when I submit some count query, table gets locked. If I do the sa… Read more Does Higher Rows Count In Mysql Explain Means Good Or Bad?

Perl Dbi Without Accessing The Database

I'm creating a set of SQL INSERT statements for a database that doesn't exist yet, and I&#… Read more Perl Dbi Without Accessing The Database

Include Space In Mysql Like Search

I am having problem in using mysql like keyword in certain condition. My requirement goes like this… Read more Include Space In Mysql Like Search