I am going to migrate the database present in SQLBASE to MS SQLSERVER 2000.
Please let me know if these two databases are compatible and whether the above migration can be done.
Depends on your definition of compatible. The migration can be done. I'm in the process of converting from SQLBase to SQL Server now.
There are a number of issues you will have to address:
SQLBase has Date and Time data types natively. SQL Server has only DateTime. (Although you can define your own types.)
SQLBase reserved words SYSDATETIME and USER are replaced by SQL Server reserved words CURRENT_TIMESTAMP and CURRENT_USER.
SQL Server uses "+" for concatenation instead of "||"
Dates are not well parsed when expressed as constants. Generally best to use bind variables or quoted strings and let the compiler convert to date(time). Date constants syntax is different: instead of 2003-05-29-13.30.00.000000 you would need to use something like "5/29/2003 13:30:00.000"
Functions need to be replaced. E.g. IsNull() replaces @NullValue(). Not all functions have direct counterparts, but in the worst case you can create your own thru what is called extended stored procedures.
Date arithmetic is done with functions in SQL Server, not the simple add and subtract that works so well in SQLBase.
Security is a little more complicated. There is no counterpart to declaring public synonyms in SQL Server, so unless dbo owns the table the name must be fully qualified to use it.
The optimizer is not as good as SQLBase, but there is provision for you to provide a "hint" as to what index should be used when necessary.
Hello! I like to know what is the technique to use SQLBASE database (*.dbs) file on web for data driven websites. I am a webmaster. I have not worked with GUPTA SQLBASE yet, I know some SQL. Kindly give you expert advice since I am really confused how to go about it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.