I have a query to select from another sub-query select. While the two queries look almost the same the second query (in this sample) runs much slower:
SELECT
user.id
,user.first_name
-- user.*
FROM user
WHERE
user.id IN (SELECT ref_id
FROM education
WHERE ref_type='user'
...
If I recall correctly, there where at least to desktop programas from sun which were very useful for handling mysql databases...
Now, all I can find is some mysql workbench which is only useful for designing data...
Both programs I'm talking about allowed you to manage servers, create database, create tables, index, perform querys, edi...
Hi
I am looking for ideas to populate a fact table in a data mart. Lets say i have the following dimensions
Physician
Patient
date
geo_location
patient_demography
test
I have used two ETL tools to populate the dimension tables- Pentaho and Oracle Warehouse Builder. The date, patient demography and geo locations do not pul...
I want to use MySQL to store a bunch of admin settings - what's the best way to structure the table?
Like this?
Setting _|_ Value
setting1 | a
setting2 | b
setting3 | c
setting4 | d
setting5 | e
Or like this?
|--------|_setting1_|_setting2_|_setting3_|_setting4_|_setting5_|
Settings | a | b | c | d ...
I've got the following code:
UserLoginData userLoginData = _securitySoap.Login(username, password);
_repository = new SimpleRepository(SimpleRepositoryOptions.RunMigrations);
_repository.Add<UserLoginData>(userLoginData);
var queryResult = _repository.Exists<UserLoginData>(x => x.UserName == userLoginData.UserName);
The last line thro...
How can I manage multiple versions of a database easily?
I have some data (as views as selects for data originating in tables from other schemas), which other database may reference using various means including database synonyms & links.
I wish to provide a sort of interface/guarantee in-case future for applications/databases which u...
I am working with VB.NET.. i have a DataTable called "QUESTION", containing 3 fields:
QuestionNumber (unique integer key)
QuestionText
QuestionType
In my SQL Server database I created a Table called "QUESTION" with the same fields.
QuestionNumber is defined as integer unique key, auto increment
Now, when i make a bulk copy to inser...
Hi,
Im after an xx.ADD example database to run on a Sybase Advantage Database Server. cant find one, All help welcome,
Thanks,
Fox
...
I'm looking for an SQL client app that can display subdatasheets like the following:
Do you know of any?
...
Hi all,
I believe I know the answer to this question, but wanted to confirm:
Question
Does Sql server (or will it in the foreseeable future), offer a database-wide "unicode switch" which says "store all characters in unicode (UTF-16, UCS-2, etc)", i.e. like Oracle.
The Context
Our application has provided "CJK" (Chinese-Japanese-Kor...
Hi, I'm trying to work out a sensible approach for designing a database where I need to store a wide range of continuously changing information about pets. The categories of data can be broken down into, for example, behaviour, illness etc. Data will be submitted on a regular basis relating to these categories, so i need to find a good w...
Hey guys,
I need to check on the contents of blobs in my databases (yes, plural, but one problem at a time).
In one database, I have about 900 images of potentially varying sizes. I need to check to see if the versioning system that's built into our application is actually correctly replicating the image data from the previous version...
Hello,
As I had written in title, I am trying to learn Spring 3.0 (I already know Django, Pylons and few simpler MVC frameworks) and try to use Cassandra as a backend for my web application.
Are there any real world examples of doing this? Or maybe some tutorials? I know about the existence of documentation of both technologies, yet I...
I have an oracle .dmp file, and no access to a local oracle install..
Is there any way I can read the data or open it in another program to see what data is in this file?
...
Hi, I'm planing to build some database project.
One of the tables have a lot of attributes.
My question is: What is better, to divide the the class into 2 separate tables or put all of them into one table. below is an example
create table User { id, name, surname,... show_name, show_photos, ...)
or
create table User { id, name, sur...
I have 3 tables "pics", "shows", "showpics"
I want to be able to edit the table "shows". In order to do this i need to retrive the pictures that the show contains (the pictures are stored in the table "pics")
the "showpics" table acts as a link
does anyone have any ideas as im completely lost and have no idea where to even start
Than...
I get this, when I try to run my PHP.
When I comment out the database execute() method it is going without errors. But this is not helping me a lot. Please Help :-)
...
My application demands archiving database tables between sybase and db2 and vice-a-versa and within(db2 to db2 and sybase to sybase) using java.
I am trying to understand the best strategies around in terms of performance, implementation, ease of use and scalability.
Here is my current process -
source and destination tables with th...
Hello,
I have application which retrieves many large log files from a system LAN.
Currently I put all log files on Postgresql, the table has a column type TEXT and I don't plan any search on this text column because I use another external process which nightly retrieves all files and scans for sensitive pattern.
So the column value c...
Use Case
When a user goes to my website, they will be confronted with a search box much like SO. They can search for results using plan text. ".net questions", "closed questions", ".net and java", etc.. The search will function a bit different that SO, in that it will try to as much as possible of the schema of the database rather than ...