Skip to content

Select a list of keys of a table in MySQL

Say I have a table “products” and I would like to check if this table has any indexes, foreign keys etc A “DESCRIBE products” would give some information. Mainly the key field in the case. But defenietly no references and what table is linked to who etc etc. What is the best way to get…

What does the following Oracle error mean: invalid column index

I got the following error while testing some code: SQLException: Invalid column index What exactly does that mean? Is there an online document explaining what all the Oracle error codes and statements? Answer If that’s a SQLException thrown by Java, it’s most likely because you are trying to get o…

Fastest Way of Inserting in Entity Framework

I’m looking for the fastest way of inserting into Entity Framework. I’m asking this because of the scenario where you have an active TransactionScope and the insertion is huge (4000+). It can potentially last more than 10 minutes (default timeout of transactions), and this will lead to an incomple…