JOEL LIPMAN Systems / Automation / AI

Knowledge base / Since 1999

Databases Tutorials & Guides

Practical Databases tutorials, troubleshooting notes and implementation guides from real projects.

Advanced search

75 entries / Databases

Clear filters
Returned a data type that is not valid
Transact-SQL

Returned a data type that is not valid

Thought I'd put a note on this error. Bearing in mind that this is a general data type error and not just because I tried to convert a date in SQL format to a Month name. An error occurred during local report processing. An error has occurred during report processing. The Group expression used in grouping 'table1_month...

Read note 33,926 hits
Accessing a MySQL Database with Business Intelligence Development Studio
MySQL

Accessing a MySQL Database with Business Intelligence Development Studio

Well I tried the SQL Server Management Studio solution to connect to a MySQL database then lost my way wondering what was I trying to achieve? I've written this article because this is how I connected to a MySQL database from within the Business Intelligence Development Studio (BIDS) IDE from Microsoft. Required: Windo...

Read note 64,326 hits
SQL Queries for Statistics
MySQL

SQL Queries for Statistics

Basically, I've started using so much more SQL in our new Business Intelligence projects that I've been revising all my scripts to see what SQL I can optimize. One of my systems is a MediaWiki CMS which is used for the official Bournemouth University Knowledge Base. The skin itself is the index page loaded for any page...

Read note 33,623 hits
Create Read-Only Database User in SQL Server
Databases

Create Read-Only Database User in SQL Server

The following describes how to setup a database user with read-only access to the AdventureWorks database. Using SQL Server Management Studio 2008: Connect to your database server. Expand Security > Logins. Right-click on the user who will be set as having read-only access (in this example "adventureworksro"). Select P...

Read note 101,927 hits
MySQL Commands to display all columns
MySQL

MySQL Commands to display all columns

The scenario is that I wanted a PHP/MySQL extension created which needs to launch a query to find all columns across the tables of the local database which had valid content to extract keywords from. The following is a MYSQL query that displays the structure of all the columns in all the databases of the localhost: SEL...

Read note 19,197 hits
MySQL Oracle equivalents
Databases

MySQL Oracle equivalents

The title of this article implies something rather odd and upcoming considering that Sun Microsystems bought MySQL and Oracle bought Sun. But in fact, this is just a quick list of some regular commands in MySQL that I need in Oracle:

Read note 31,611 hits
Error during processing - Converting Date/Time
Transact-SQL

Error during processing - Converting Date/Time

Well I find myself again the dummie of the Internet. I basically came across this error and STFW'd for ages following complex T-SQL Timestamp conversions but to no avail. Not saying that you shouldn't try their solutions but just check you haven't done this silly mistake. I'm only guessing the same error would happen i...

Read note 34,596 hits
Search and Replace in a MySQL Database
MySQL

Search and Replace in a MySQL Database

Ok is it just me who does everything slowly and badly until someone comes along and says why are you doing it like that? My justification is that the job has to be done no matter what. If you've ever sat there with phpMyAdmin or a MySQL Administration Tool (like Navicat or SQLYog), and still there at night editing each...

Read note 16,944 hits

Working principle

Our Purpose

This site exists as a practical knowledge base built from real-world experience across systems, platforms, and technologies since 1999. Much of the content documents solutions, edge cases, and working patterns that were learned through investigation where documentation was incomplete or absent, and is shared to reduce the same friction for others.

27 Years in IT
1021 CRM clients
810 Site articles
29.8m+ Reads / hits

Knowledge base

Search notes

Find matching words in article titles and content.