Mailing List
Home
Forum Home
MySQL General - General MySQL discussion
MySQL++ - Programming with the C++ API to MySQL
MaxDB - Everything about MaxDB, formerly known as SAP DB
ODBC - ODBC with the MySQL Connector/ODBC driver
MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP
Java Help - Mostly related to the MySQL Connector/J driver
Perl - Perl support for MySQL with DBI and DBD::mysql
GUI - MySQL GUI Tools
Announcement
Subjects
Subject: mysql openssl Question
ERROR 1045: Access denied for user: 'root@localhost ' (Using
password: NO)
Update one field with more fields from another table
Subject: Getting Identity after INSERT
ERROR 2002: Can 't connect to local MySQL server through socket
mysql test 4 1 fails with the gis test
Subject: MySQL Cluster Software
Downgrade Mysql from 4 to 3 23
Mysql 4 0 Oracle Stored Procedure Trigger Conversion
Can 't access mysql after kernel upgrade
Executing MySQL Commands From Within C Program
Comparing and writing out BLOBS
Subject: Re: Preventing Duplicate Entries
FULLTEXT query format question
Strange behavior, Table Level Permission
Does the binary log enabling affect the MySQL performances?
mysql:it 's a db not a dbms how it 's possible?!
mysql have same function mthod as Oracle decode()
 
Subject: Some questions about MaxDB

Subject: Some questions about MaxDB

2007-07-25       - By Bi, Xuan

 Back
Dear Madam/Sir,

  I'm new to MaxDB. I want to ask some questions for using MaxDB.

  1.  As we know, in Microsoft SQL Server, it has a type
"uniqueidentifier". With this type data, we can use the function
"newid()" to generate a globe user identifier.So I wanna if MaxDB has
the similar functions? I only found STAMP in MaxDB, Such values are
serial numbers beginning at X'0000000000001' and are assigned in
ascending order. I don't know if it can replace the function of
"uniqueidentifier" in MaxDB

  2.  When I write this SQL statement:
    If exists (select * from A)
      insert into A(b,c) values('b','c')
        or
    if exists table A   ...
      it always failed.
      So I wanna whether this statement is correct or MaxDB does
not support using "if" together with "exists". You know, this is a very
important feature.
 
  3.  I created a demoDB, and a DBPROC (named test), all corretly.
      I opened a new SQL editor, and just wrote "Call test" , but
it failed with  Error Executing 'CALL hotel.test' SAP DBTech JDBC: Call
of execute(String) is not allowed for PreparedStatement.
       And I ran the system default DBPROC , it still the same
problem

  Thank you very much!

Best Regards,
Jason