DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = PostgreSQL or MS SQL? - iTechForums
Login
Search
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 2
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 05-06-2008, 01:30 PM
johnkawakami johnkawakami is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Default

PostgreSQL or MS SQL?


I'm looking at these two options, and was wondering about which one would be better for hosting a database that will grow to "take over" for a number of legacy systems including Access and xbase? Any other databases to consider?

I'm shying away from Mysql. I have a lot of experience with it. I need stored procedures. We can't afford Oracle.
The environment here is Windows, but there are a number of older systems that may be DOS. The apps are all pretty old, and part of my task is to port the code into something more modern.

The main appeals of PostgreSQL are that its SQL isn't weird, and that there's no per-seat licensing costs. The normal number of seats is around 5, but should grow, and could potentially surge to over 50 at times. Typical per-seat licensing looks kind of expensive to me. Also, if we re-sell portions of the work to our peer organizations, P is appealing because there's no licensing fees.

I'm interested in developing something that can be resold (or even given away) for job security reasons.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-06-2008, 01:30 PM
Sunardy W Sunardy W is offline
Junior Member
 
Join Date: May 2008
Posts: 2
Default

if you can't afford Oracle, you can use their free edition - Oracle Express Edition.
http://www.oracle.com/technology/software/products/database/xe/index.html
it's free like Microsoft SQL Server 2005 Express edition.

and there's another alternatif like Firebird/Interbase, it support stored procedure, trigger, transaction and Events.
it's not common, but Interbase/Firebird is the first choice for Delphi programmers, and you can use it in PHP too.
http://www.ibphoenix.com/main.nfs?page=ibp_beginners_php

if you want to choose between PostgreSQL and Microsoft SQL, choose Ms SQL. but if you can get Oracle, choose Oracle.

additional :
MySQL ver. 5.0 support Stored Procedure
http://dev.mysql.com/tech-resources/articles/mysql-storedprocedures.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Your Ad Here

All times are GMT. The time now is 03:54 AM.