|
|
select * from table1 a left outer join table2 b
on a.id=b.id
where b.id is null
This will give you all records in table1 that aren't in table2, assuming id is the common key.
|
|
|
|
|
There was a thread on here a few weeks ago about the merits of exists versus in versus outer join. I can't remember what the conclusion was and I can't find the thread now.
|
|
|
|
|
|
Yes, I took part. I prefer outer join -- because of portability and such.
|
|
|
|
|
Hi,
look im going to configure sql express 2008 for accepting remote connection, BUT, automically ... I mean the enduser will not set anything, after installing sql express it whould be configured for network connections and etc.
actually i need sql scripts for this...
|
|
|
|
|
As in a local Sql Express database that you just installed? Enabling is explained here[^], but a word of warning though; it allows Sql Express to receive commands that originate from another computr - and that might be someone with malicious intent.
If someone could get into the server without permission, chances are that they could execute scripts. That could include scripts that modify the filesystem and/or the registry!
Next point to consider; even if you install Sql Express with the option to allow remote connections to be made, there might still be a firewall disallowing it.
I are Troll
|
|
|
|
|
|
|
Hi guys, I have an old SSIS file which needs editing now. The problem is that the person who developed it has left and unfortunetly he used "User Key encryption".
Does anyone have any idea on how (if possible) can I get it back? I would really appreciate any type of help.
- Stop thinking in terms of limitations and start thinking in terms of possibilities -
|
|
|
|
|
Hi,
I am creating one table and it has field like DetailInfo. Since the user can insert short or long details, I am wondering which particular datatype with maximum size to be used ? Well nvarchar has max 5000 but is there anyway i can use more than that size ? So shall I use nText or nvarchar in this case ?
thanks in advance
suchita
|
|
|
|
|
Which database?
If Sql Server, look into nvarchar(max).
|
|
|
|
|
|
Note that nText is going away in future SQL server releases. The nvarchar(max) should do what you want.
|
|
|
|
|
thanks. I used nvarchar(max). just trying to know which one holds large data like 2-3 pages. i haven't worked with large data before.
suchita
|
|
|
|
|
isit possible to encrypt a database in PostgreSQL or make it password protected so even admin of the server won't be able to open it without my permission..
I am planning to deploy a commercial software and I don't want people to go and view my database structure and rows?
|
|
|
|
|
Hi,
I am developing a hospital management system and I want to know what's best to choose as database? PostgreSQL or MySQL? and why?
|
|
|
|
|
It basically depends on the size of the hospital and the language in which you are gone write the application.
Check out this article: here.
Paul.
|
|
|
|
|
I am using C#.Net. My current application is on SQL 2008 and ir has stored procedures, views, function and triggers.
|
|
|
|
|
Currently only one hospital is using it with 25users but I am planning to get more clinics and hospitals to use
|
|
|
|
|
My thoughts / Questions would be
1. Which allows you to fullfill the requirements of the application?
i.e. which will comfortably allow you to store the volumes and types of information that you want, run the queries that you need to
2. Which is best scalable for the project?
3. Which are you best with (this allows you to cover support and installation!)?
4. Which is the most cost effective for the overall project?
As barmey as a sack of badgers
Dude, if I knew what I was doing in life, I'd be rich, retired, dating a supermodel and laughing at the rest of you from the sidelines.
|
|
|
|
|
I have done some little work with MySQL, and even less with postgres. My impression was that postgres is slightly more complicated to handle (especially when it comes to automatic row IDs, and querying them from an application), but it performed better when doing reports with "complicated" sql (joining subqueries with real tables) - but the more complicated the queries get, the more likely is also postgres to not complete it within an hour where Microsoft SQL Server or Oracle do that within a few seconds!
By the way, there is a hospital information system using postgres with free source code in Java: http://www.hospital-os.com/en/[^]
|
|
|
|
|
This may help:
http://www.wikivs.com/wiki/MySQL_vs_PostgreSQL[^]
One thing to bear in mind that many people forget: if you are developing a commercial application, MySQL is not free and you will need to purchase a commercial licence for it.
If using MySQL, you also need to consider whether you will have a high read:write ratio as that may influence your choice of MyISAM (faster but no ACID transaction support) versus InnoDB (full transaction support but not as fast).
|
|
|
|
|
i agree with the guys here you need to ask yourself what you need for your particular circumstances but my personal opinion is that postgre sql is a much easier to use and speedy database than mysql. Using pgadmin3(which is free) you have loads of help and docs and its all free. However, one comment is really true, it depends what you are most happy with and which suits your needs.
|
|
|
|
|
thanks everyone.. clear... seems like I am going to use PostreSQGL..
but one question please...
comparing to Microsoft SQL Server 2008 Express Edition, am I going to lose any feature if I decided to move to PostgreSQL?
|
|
|
|