Hi experts:
I need to connect to a sybase database for development,how to connect to it?I know the Ip and name of the sybase DB...
Thanks!!
Hi experts:
I need to connect to a sybase database for development,how to connect to it?I know the Ip and name of the sybase DB...
Thanks!!
Ordered software from the sap.com store, got an "order in progress" email at 8:55 AM, now it's 2:55 PM, the amount has hit Visa... but where's my stuff?
Dear Breck Carter, Thank you for your order, which is under review and will be processed as quickly as possible. Please note that the transaction will only be completed and the contract concluded once SAP has granted you access to the software and an order confirmation has been e-mailed to you. Until then, if any issue arises regarding the processing of your order, SAP reserves the right to cancel the transaction and you will be notified accordingly. Should you have further questions regarding your order, please contact the SAP Store team. The items in your cart have the following order numbers: xxx Thank you for choosing SAP, Your SAP Store team This is an automatically-generated email, please do not reply. |
BH
Hi, I'm trying to delete the database log file, because it is getting too big. Before we were using the mirror server, i was able to just stop the database, delete the log file, restart the database, and it would automatically create a new log file.
Now (with mirror server) i've tried to stop the server (both on primary and secondary), delete the log files (on both primary and secondary), and restart the server. However, it would give an error and would not start. So what is the correct way to delete log files?
Thanks
Aron
Hi,
We are trying connect sqlanywhere-16 to PHP 5.4.12 on both IIS and Apache server.
For that we have done below process as per the documentation provided by SQL Anywhere.
Still we got error "Unable to load dynamic library "C:/PHP/ext/php-5.4.12_sqlanywhere.dll"-%1 is not a valid Win32 application,
That’s why we could not execute the functions of sql Anywhere Connectivity. We have search most of the forums as well as SAP help sites.
So please guide us for the above issue.
Dear experts:
I need to connect to a sybase database for development,so firstly I create it in "DBCO" as below shows:
my format of conn. info is:SYBASE_DBNAME=<name> SYBASE_DBOWNER=dbo SYBASE_SERVER=<ip> SYBASE_PORT=<port>
and I write these codes to make a test and get below error:
TYPES:
BEGIN OF itob,
costcenterno LIKE ZIT_CC_USER-COSTCENTERNO, "ZIT_CC_USER is a DB table in my abap system.
end of itob.
DATA: itab TYPE TABLE OF itob,
wa TYPE itob.
EXEC SQL PERFORMING test.
SELECT *
INTO :wa-costcenterno
FROM ZIT_CC_NEWUSER@SYBASE-TEST "ZIT_CC_NEWUSER is the database in Sybase
WHERE SAPID = 'I004218'.
endexec.
FORM test.
WRITE:/ wa-costcenterno.
APPEND WA to itab.
CLEAR itab.
ENDFORM.
the error is this:
I cheak it in ST04 and it says:-- ERROR Database connection SYBASE-TEST: SQL error 4002 [ASE Error SQL4002:28000]SQL Anywhere Error -103: Invalid user ID or password.
BUT I cheak my Sybase DB's username&password and find no matters with it!
What should I do for this scenario?
Thanks a lot!!
Regards
Cao
I'm trying to connect to a database server from a mobile device using SQL Anywhere 12. I keep getting the error "SQLSTATE = HY000 [Sybase][ODBC Driver Loader] Not supported until driver loaded." I have the dbodbc12.dll file located in the Windows directory. Here's how my DSN looks like.
[ODBC]
uid=xxx
pwd=xxx
enginename=my_srv
commlinks=tcpip(host=xxx.xxx.xxx.xx)
driver=\Windows\dbodbc12.dll
I am able to connect to a SQL Anywhere 9 database with no problem. Any ideas?
Thanks,
Rick
Hi Everyone,
I am running in to an issue where my ASA database is processing accent chars (like ù, ú, û, ü,) as plain chars (like u).
I have a row in a table that looks like:
--------------------------------
Col1 Col2
--------------------------------
Test_ù TestInfo
The table has Col1 as Primary Key.
The database does not honor a request to insert the following row:
Test_û TestInfo
It generates a primary key not unique error!!! even though this second row is unique on Col1.
Is there something I am missing that should be considered?
(FYI, these characters are from the default Windows 1252 Code Page.)
Thanks in advance for any input.
Tejo
I am having a problem with REGEXP_SUBSTR(). I am trying to extract "captureThis" from the following string:
Token1 blah, blah, (Token1 blah Token2 ignoreThis blah) blah, blah Token2 captureThis blah blah'
The rules are that it must be preceded by "Token1" followed by arbitrary text, terminated by "Token2". Except that if the same pattern appears in parentheses in the arbitrary text, everthing in parentheses should be ignored.
If I run the following REGEXP_SUBSTR() statement, I get a result that correctly ends in "captureThis"
select REGEXP_SUBSTR('Token1 blah, blah, (Token1 blah Token2 ignoreThis blah) blah, blah Token2 captureThis blah blah',
'Token1\\s+((\\([^\\)]+\\))|(((?!Token2).)+))*\\s+Token2\\s+\\S*' ,
1,1);
Result: Token1 blah, blah, (Token1 blah Token2 ignoreThis blah) blah, blah Token2 captureThis
However, if I use a Positive Lookbehind Zero-Width Assertion to filter out the tokens, I get a different result:
select REGEXP_SUBSTR('Token1 blah, blah, (Token1 blah Token2 ignoreThis blah) blah, blah Token2 captureThis blah blah',
'(?<=Token1\\s+((\\([^\\)]+\\))|(((?!Token2).)+))*\\s+Token2\\s+)\\S*'
, 1,1);
Result: ignoreThis (I need it to be "captureThis")
I also found an interesting result by playing with the fourth parameter, occurrence-number. In the first statement above, occurrence-number 1 is a string ending in "captureThis", and occurrence-number 2 is a string ending in "ignoreThis".
However, in the second statement, with the Lookbehind, the order is reversed. Occurrence-number 1 is "ignoreThis", and occurrence-number 2 is "captureThis".
Is there any way to alter the regular expression in the second statement so occurrence-number 1 will be "captureThis"?
Thanks,
Eric
Hi,
We are trying connect sqlanywhere-16 to PHP 5.4.12 on both IIS and Apache server.
For that we have done below process as per the documentation provided by SQL Anywhere.
Still we got error "Unable to load dynamic library "C:/PHP/ext/php-5.4.12_sqlanywhere.dll"-%1 is not a valid Win32 application,
That’s why we could not execute the functions of sql Anywhere Connectivity. We have search most of the forums as well as SAP help sites.
So please guide us for the above issue.
Hi Everyone,
I am running in to an issue where my ASA database is processing accent chars (like ù, ú, û, ü,) as plain chars (like u).
I have a row in a table that looks like:
--------------------------------
Col1 Col2
--------------------------------
Test_ù TestInfo
The table has Col1 as Primary Key.
The database does not honor a request to insert the following row:
Test_û TestInfo
It generates a primary key not unique error!!! even though this second row is unique on Col1.
Is there something I am missing that should be considered?
(FYI, these characters are from the default Windows 1252 Code Page.)
Thanks in advance for any input.
Tejo
Hello, all
I have a problem of a DB, which crashed and cannot be started now.
How do I start it in order to do a rebuild?
Here is my error:
//-------------------------------------------------
[Sybase][ODBC Driver][SQL Anywhere]Internal database error *** ERROR *** Assertion failed: 200608 (12.0.1.3406)[DB NAME]
Freeing page not in arena -- transaction rolled back
SQLCODE=-301
SQLSTATE=HY000
//------------------------------------------------
Error log is attached
Hello All,
I'm trying to connect to a sybase database trough C# code, but I cannot get it to work. I tested the connection first on a ODBC data resource from windows, everything works fine. But now i'm trying to access it directly from the code, and the connection string throws an error:
string DeQuery = "query";
string IDquery = String.Format("query");
AsaConnection EchoConn = new AsaConnection();
EchoConn.ConnectionString = 'Driver=Adaptive Server Anywhere 9.0;ENG=Hostname.Database-Name;UID=username;PWD=password;DBN=Database-Name;LINKS=TCPIP(HOST=hostname.domain)';
EchoConn.Open();
AsaCommand EchoComm = new AsaCommand(DeQuery, EchoConn);
AsaDataReader EchoReader = EchoComm.ExecuteReader();
Executing the code I get an error: Invalid connection string. Error parsing connection parameter string Parameter name: value
Anyone has a solution for this issue?
Thanks!
With kind regards,
Peter Manuel
Hello!
I am currently monitoring database replication between a consolidated database and several remote databases as well as performing basic database administration. Back in November 2014, an issue occurred on the database server (owned by our customer) which resulted in the server being rolled back to a snapshot however prior to the server being reverted, a database replication event had occurred. As a result, the consolidated is no longer in sync with the remote databases. Previous database administrators are no longer employed with the company. How would I go about getting assistance for this issue? I have tried calling support however they require license information which I do not have. We would like to have an expert assist us (either in person or remotely) with resolving this issue.
A little background information:
I am a subcontractor performing basic database administration duties on customer-owned servers. Although I was tasked to perform these duties, I am not a database administrator in the true sense of the title since I do not have the skillset to perform in-depth database work nor am I familiar with dealing with logs, creating complex queries and such. The product is Sybase SQL Anywhere 11 on the consolidated and Sybase 9 on the remote databases. I do not have any license/purchaser information. Products were purchased and installed prior to me being tasked to perform database administration duties.
Any advice would be greatly appreciated.
Thank you and have a great day!
Norlito Quinto
RRMNA
Reston, VA
I am trying to connect to SQL anywhere 5.0 using below connection string
sConnString =
" Driver=Sybase SQL Anywhere 5.0;Uid=dba;Pwd=sql;EngineName=Tenmax;DatabaseName=Tenmax;Start=c:\sqlany50\win32\dbclient.exe;DatabaseSwitches=-commandSwitch1 -commandSwitch2;DatabaseFile=E:\Applications\VinayNandaLIL\Tenmax.db;AutoStop=NO;"
It is giving below error
ERROR [08001] [Sybase][ODBC Driver]Unable to connect to database server: unable to start database engine
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
Please guide.
Hi there,
I have been trying (with no success) to connnect our PHP app to Sybase database.
Our actual scenario is:
Windows2003/ ODBC {SQL Anywhere 11 Driver} / PHP ------> Windows2008 / Sybase
We are to migrate our PHP:
Linux Ubuntu Server / UnixOBC {SQL Anywhere 11 ODBC Driver} / PHP -------> Windows2008 / Sybase
In the migration process I configured FreeTDS trying somethink like:
/etc/fretds/freetds.conf
----------
[global]
tds version = 4.2
dump file = /tmp/freetds.log
; debug flags = 0xffff
; timeout = 10
; connect timeout = 10
text size = 64512
[sybase]
host = 172.19.2.252
port = 2640
; instance = ek_cadu_0103040607
tds version = 5.0
ASA database = ek_adm01_11
---------
php-script
---------
<?php
error_reporting(E_ALL);
ini_set('display_errors', '1');
$cnn = sybase_connect('sybase', 'dba', '_._ENKONTROL_._');
?>
---------
This script shows the following errors:
Warning: sybase_connect(): message: SQL Anywhere Error -83: Specified database not found (severity 16) in /var/www/testodbc.php on line 4
Warning: sybase_connect(): General SQL Server error: Check messages from the SQL Server (severity 16) in /var/www/testodbc.php on line 4 Warning: sybase_connect(): Unable to connect to server: sybase in /var/www/testodbc.php on line 4
Can anyone help?. Thank you in advance.
Marinho.
Dear Expets,
I am using BI 4.1 sp1 BOBJ server under sybase SQL anywhere 12 database and Operating system is Windows 2008 server.
I want to take offline and online backup of database , How to take from both command line and from admin console ( please guide me step by step procedure I am first time using SQL aynwhere database).
second My SQl server database consist 4 files
1. BI4_Aduit.db Size of this file is 1025 MB
2. BI4_Audit.log Size of this file is 924 MB
3. BI4_CMS.db Size of this file is 47 MB
4. BI4_CMS.log Size of this file is 3.4 GB
why BI4_CMS.log size too much how to reduce the CMS log file size
Regards
Hello, all
I am trying to set up my Mobilink server to work through Relay server.
The Mobilink server is currently running on the same machine as the IIS.
Mobilink Relay server service is up and running.
But when I try to access the rs_admin.dll in the browser I get the following error:
HTTP Error 400.0 - Failed to attach to Relay Server state store
Can anyone advise me how can I find what is wrong with the configuration?
Thank you
Hi,
I installed Sybase SQL Anywhere 16 before I actually received the valid License Key. So during the installation I've used the license key provided by the instructions. Afterwards, I've received the purchase license key. Do i need to reinstall SQL Anywhere all over? Or can it just continue to function on that license key? From what i understand, I can not change the license key after the installation was complete. I would have to completely uninstall and re-install SQL Anywhere 16. Is that correct?
Thanks
Aron
Hello.
From the SQLA 16 Documentations:
The jConnect driver is available as a separate download at http://www.sybase.com/products/allproductsa-z/softwaredeveloperkit/jconnect. Documentation for jConnect can also be found on the same page.
To use JDBC from an applet, you must use the jConnect JDBC driver to connect to SQL Anywhere databases.
Is there an updated Link available ?
Kind regards
Thomas
I am trying to connect to SQL anywhere 5.0 using below connection string
sConnString =
" Driver=Sybase SQL Anywhere 5.0;Uid=dba;Pwd=sql;EngineName=Tenmax;DatabaseName=Tenmax;Start=c:\sqlany50\win32\dbclient.exe;DatabaseSwitches=-commandSwitch1 -commandSwitch2;DatabaseFile=E:\Applications\VinayNandaLIL\Tenmax.db;AutoStop=NO;"
It is giving below error
ERROR [08001] [Sybase][ODBC Driver]Unable to connect to database server: unable to start database engine
ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).
Please guide.