Skip to content

Tag: sql

Storing IPv6 Addresses in MySQL

As has been requested in “ipv6-capable inet_aton and inet_ntoa functions needed”, there is currently no MySQL function for storing IPv6 addresses. What would be the recommended data type/function for …

SQL query: make a report for all products

I need help to build SQL query. I have 2 tables table PROJECT and PRODUCT, which has this fields: PROJECT: PROJECTCODE PROJECTNAME PRODUCT: ITEMCODE ITEMNAME PROJECTCODE REPLACEDBYCODE The …

Display a ConnectionString dialog

I’m trying to create a program in C# that should be able to create, backup and restore a SQL Server database. For this, the user needs to be able to setup a connection string to the desired SQL Server (and database). I would like to use the same dialog as for example Visual Studio for creating the conne…

What is the difference between CLOB and NCLOB?

Can you state any difference between the CLOB and NCLOB? Answer A CLOB stores character data encoded in the database character set. A NCLOB stores character data encoded in the national character set will show you the database and national character sets of your database.

MySQL – specific columns on join?

When making a join (inner, left outer, right outer or whatever), how can I specify which columns on the table to join into the original table? Consider the following example: This would select FirstName from user, but select everything from Provider. How can I specify which parts of Provider should be include…