I am developing a Java Desktop Application and want a light database that can be used with Hibernate and that can be packed with an application.
I was going to use Derby database. It's size is near 2 MB. But before that I wanted to have views of experts on SO.
Will it work with Hibernate?
Actually, I am new to Hibernate and was studyi...
Continuation to my previous question
Migrating to oracle Is there any tool or script to convert SQL procedures in Informix into Oracle?
...
My example is similar to this - The only problem is I cannot rewrite this query to cope with columns that have spaces inside it
In the example below suppose that rather then [Oranges] you had ['Oranges And Apples'] in one cell.
For some reason adding an "'" means the pivot function returns NULL everywhere and [Oranges And Apples] is of...
Modeling tool or just a visual tool for drawing.
In fact I only need to draw and later I'll transform the picture into sql by hand
to better control the process.
...
What DMBS do you use with Erlang ? and Why ?
...
I have a database and a site having forms authentication. It is working fine with VS2008. This time, I am using "Trusted_connection =True". But when it is opened from outside or directly from browser then I am getting error "Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'."
I know this is due to permission. SQL server is based on w...
Is it possible to load routes from the database with ASP.NET ?
For each r as SomeRouteObject in RouteDataTable
routes.MapRoute( _
r.Name, _
r.RouteUri, _
r.RouteValues, _ //??
r.Constraints _ //??
)
Next
How should I store the routevalues / constraints? I understand that there are several 'defa...
Scenario
I want to parse a large CSV file and inserts data into the database, csv file has approximately 100K rows of data.
Currently I am using fgetcsv to parse through the file row by row and insert data into Database and so right now I am hitting database for each line of data present in csv file so currently database hit count is ...
I have created a blogging system with php+postgresql.
Now I want to add a web chat ( in REAL TIME for Million of users simultaneously ) where every message is saved in database.
I am thinking to use Erlang+Mnesia on a different webserver for this issue.
Message's table will be like this:
message_id, user_id, message, date
user_id sho...
Hi All,
I am working with a small theatre company. Currently they have a list of people on paper with notes about their skills next to each one. I want to create a database / directory for them so that they can add, delete, update and search for people. It is a very simple and common scenario I know but the issue here is that I only hav...
i have some apache logs and i want to be able to query the data in it.
so i wanted to know if its possible to convert this log data to a relational database so i later can query and analyze the data using sql statments.
thanks
...
how to connect multiple tables and populate into a datagridview control ?
What i can think is create a view, but if there any other better resolutions ?
...
Yesterday I asked a question on how to re-write sql to do selects and inserts in batches. I needed to do this to try and consume less virtual memory, since I need to move millions of rows here.
The object is to move rows from Table B into Table A. Here are the ways I can think of doing this:
SQL #1)
INSERT INTO A (x, y, z)
SELEC...
Hi everyone,
I'm having some difficulties with translating some queries to Relational Algebra. I've a great book about Database Design and here is a chapter about Relational Algebra but I still seem to have some trouble creating the right one:
Thoes queries I've most difficuelt with is these:
SELECT COUNT( cs.student_id ) AS counter
F...
I've got multiple massive (multi gigabyte) datasets I need to import into a Rails app. The datasets are currently each in their own database on my development machine, and I need to read from them and create rows in tables in my Rails database based on the information they contain. The tables in my Rails database will not be exactly th...
Hi,
I tried to turn on the Activity Monitor using SQL Server 2008 Management Studio (SSMS) through the options window of the application (Tools | Options | Environment | General | At Startup).
I restarted SSMS and I am getting the following message:
"This operation does not support connections to Microsoft SQL Server Standard Edition ...
Do you ever use a separate table for "generating" artificial primary keys for DB (and why)? What I mean is to have a table with two columns, table name and current ID - with which you could get new "ID" for some table by simply locking the row with that table name, getting the current value of the key, increment it by one, and unlock the...
Running into an issue where our datasources for two different DBMS (MS-SQLServer and Informix) are not picking up the security-domain configuration in the login-config.xml file.
Our datasources look like this:
<datasources>
<local-tx-datasource>
<jndi-name>ourTX</jndi-name>
<connection-url>jdbc:informix-sqli:/...
Let's say I have an user registration form. In this form, I have the option for the user to upload a photo. I have an User table and Photo table. My User table has a "PathToPhoto" column. My question is how do I fill in the "PathToPhoto" column if the photo is uploaded and inserted into Photo table before the user is created? Another...
I have a system set up to lock certain content in a database table so only one user can edit that content at a time. Easy enough and that part is working fine. But now I'm at a road block of how to send a request to "unlock" the content. I have the stored procedure to unlock the content, but how/where would I call it when the user just c...