BH
Hi, we are running SQL Anywhere 16. Currently our client computers are connecting through ODBC. Is there a way to connect to our server from a Remote Location (over the internet)? If yes, how?
Thanks
Aron
BH
Hi, we are running SQL Anywhere 16. Currently our client computers are connecting through ODBC. Is there a way to connect to our server from a Remote Location (over the internet)? If yes, how?
Thanks
Aron
I was asked for for whether SQL Anywhere was compliant with ODBC 3.0 - but I cant find anything about ODBC Compliance documentation.
Can anyone tell me where I can find ODBC compliance statements for SQL Anywhere versions?
Thanks
Dear All Experts,
Please give the suggestion for FMS query how i get the last sales price in according to customer ??
and currently i am using these query
SELECT (T0.[Price]) FROM INV1 T0
WHERE T0.[ItemCode] = $[RDR1.itemcode]
Order by T0.DocEntry desc
Regards,
Varun Pandya
Good morning everyone,
Does anyone know type names that correspond "domain" column in syscolumn (I believe that 2 is int, but would like to know more)?
Hi everyone,
Is there possible to connect to Ultralite/Mobilink DB remotely?
It seems that both ADO.NET and ODBC connection strings simply ignore "Host", "Links" and "Port" parameters.
ULConnectionStringBuilder and ULConnectionParms don't have any suitable parameters too.
Hi Expert!
Product SAP SQL Anywhere Studio 9 is SAP SQL ANYWHERE, EDGE EDITION is it right?
Please advice at me!
Thanks you
I'm working on extracting information from a SQLAnywhere 11.0.1 database to migrate them to a more recent solution.
However, I'm running into problems getting a JDBC connection to work.
I've found references to two different JDBC drivers.
However, I am not able to connect using the information from either of these.
I am connecting over a network. I can provide the host, server, database, username, and password. But I am unsure of the connection string format to do so.
And especially when attempting to use the jconn JDBC driver, I am getting an error of other, I assume to be dependent, files missing: "Error connecting to database: (using class com.sybase.jdbc3.jdbc.SybDriver)
no dbjdbc11 in java.library.path"
Facing a issue in sqlext under windows sdk 8.1 using visual studio 2015, I had SQL Anywhere related headers in my projects but while compiling the project following error occurs, Please help......
C:\Program Files (x86)\Windows Kits\8.1\Include\um\sqlext.h(43): error C3927: '->': trailing return type is not allowed after a non-function declarator
C:\Program Files (x86)\Windows Kits\8.1\Include\um\sqlext.h(43): error C3613: missing return type after '->' ('int' assumed)
C:\Program Files (x86)\Windows Kits\8.1\Include\um\sqlext.h(43): error C2378: 'sqlcaptr': redefinition; symbol cannot be overloaded with a typedef
d:\alok\projects\trafficanalyst\source\iv16019\trafficcoreservices\src\dbimpact\sql (358): note: see declaration of 'sqlcaptr'
C:\Program Files (x86)\Windows Kits\8.1\Include\um\sqlext.h(43): error C2146: syntax error: missing ';' before identifier 'sqlstate'
C:\Program Files (x86)\Windows Kits\8.1\Include\um\sqlext.h(43): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
Line 43 in sqlext is:
typedef SQLTCHAR SQLSTATE[SQL_SQLSTATE_SIZE+1];
Hi
If I want to copy an existing table in the same DB I would use something like this
INSERT MyTable_Backup ON EXISTING UPDATE WITH AUTO NAME SELECT * FROM MyTable
Assuming I can lookup the name of the server and the database I want to copy from
e.g.
Server = S002
DB = MyDB21
How can I use that to copy from a different database, or even a different server?
Thanks
Hi,
My objective is to connect to Sybase ASE with Entity Framework 6 in Visual Studio 2013.
I try SQL Anywhere 16 without success in VS 2010/2013 .
With Sybase Ase Client it's ok in Visual Studio 2010 but not In VS 2013.
1 - The SQL Anywhere Provider can be used to connect to a Syabse ASE ?
Used version : iAnywhere.Data.SQLAnywhere Version=16.0.0.20434
2 - After instal Sybase Client, I'm able to use Sybase provider in Visual Studio 2010 but Not In Visual Studio 2013
Sybase.AdoNet4.AseClient, Version=16.0.0.2
Sybase.AdoNet4.AseClient is compatible with Visual Studio 2013 ?
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\machine.config
<system.data>
<DbProviderFactories>
<add name="Microsoft SQL Server Compact Data Provider" invariant="System.Data.SqlServerCe.3.5"
description=".NET Framework Data Provider for Microsoft SQL Server Compact"
type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=3.5.1.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
<add name="Microsoft SQL Server Compact Data Provider 4.0" invariant="System.Data.SqlServerCe.4.0"
description=".NET Framework Data Provider for Microsoft SQL Server Compact"
type="System.Data.SqlServerCe.SqlCeProviderFactory, System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
<add name="SQL Anywhere 16 Data Provider" invariant="iAnywhere.Data.SQLAnywhere"
description=".Net Framework Data Provider for SQL Anywhere 16"
type="iAnywhere.Data.SQLAnywhere.SAFactory, iAnywhere.Data.SQLAnywhere.v4.5, Version=16.0.0.20434, Culture=neutral, PublicKeyToken=f222fc4333e0d400" />
<add name="Sybase Adaptive Server Enterprise Data Provider" invariant="Sybase.Data.AseClient"
description=".NET Framework Data Provider for Sybase Adaptive Server Enterprise"
type="Sybase.Data.AseClient.AseClientFactory, Sybase.AdoNet4.AseClient, Version=16.0.0.2, Culture=neutral, PublicKeyToken=95d94fac46c88e1e" />
</DbProviderFactories>
</system.data>
Thanks
A SQLA10 production database has been crashing at a customer site.
Here's the error which displayed when I tried to unload the database...
Unloading "DBA"."schedule_profile" into C:\resq\resqprod2\db\unload\719.dat (relative to server)
Unloading "DBA"."schedules" into C:\resq\resqprod2\db\unload\720.dat (relative to server)
***** SQL error: Internal database error *** ERROR *** Assertion failed: 201501 (10.0.1.3415)
Page for requested record not a table page or record not present on page -- transaction rolled back
The database 'C:\resq\resqprod2\db\resqprod2.db' could not be unloaded.
The database 'C:\resq\resqprod2\db\resqprod2.db' could not be unloaded.
I think that backups may also have this error.
Can the database be salvaged?
Thank you,
Doug
Hello,
the following exception occured while trying to connect to database:
*** FEHLER *** Assertierung fehlgeschlagen: 200130 (12.0.1.4086)[MC500]
Invalid page found in index
If Sybase Central is used to connect to DB, the following additional information is given:
[Sybase][ODBC Driver][SQL Anywhere]Interner Datenbankfehler *** FEHLER *** Assertierung fehlgeschlagen: 200130 (12.0.1.4086)[MC500]
Invalid page found in index - Transaktion wurde zurückgesetzt
SQLCODE=-301
SQLSTATE=HY000
What does it mean and how can it be repaired?
Best regards,
Wolfgang
(By the way: entering Data with Internet Explorer was not possible on this site)
Hi
We are having problems with databases that are getting corrupted.
We have a server that runs a SQL Anywhere 11 database. (the consolidated database)
Beside that, we have about 15 remote databases that run on the laptops of our mobile workforces.
To keep all databases in sync, we have setup a two-way server-to-laptop replication.
For the replication process we use “SQL Remote”.
Each laptop should replicate his data once in about 1 or 2 weeks.
For exchanging the messages we use the message type “file”.
This year we already experienced 6 times that a remote database got corrupt after replication. (after running dbremote.exe).
The log file of the dbremote utility does NOT show any errors, the replication seems to be finished without any problems.
But after this, it’s not possible anymore to connect to the database, because of the following assertion error:
Can someone tell me more about this error?
What goes wrong and why?
Or does someone has some tips on how to prevent this or tips on how I can do some analyzing myself to see what exactly got broken in the database?
Any help is appreciated.
Thanks.
Hi friends,
My server Intelligence Agent (SIA) can not start because the database service "SQLAnywhereForBI" can't start also. Inside the database log file i got the following error :
"Unable to start the database - BI4_CMS.log is not a valid transaction log"
Can you help me plz
Hi
I'm trying to use Visual Studio 2013 to create an entity model with Entity Framework 6 and I just can't get the SQL Anywhere driver into list of drivers, so I can't choose it for connection. I tried to follow instructions from http://sqlanywhere-forum.sap.com/questions/22161/entity-framework-6-provider and also from SQLA17 documentation as closely as possible - with no luck. Some details:
SQL Anywhere 16.0.0.2178, both 32-bit and 64-bit installed.
Visual Studio Express Edition Update 5
Entity Framework 6.1.3
Output from the run of SetupVSPackage.exe:
C:\Program Files\SQL Anywhere 16\Assembly\V4>SetupVSPackage.exe /i /v EF6
SQL Anywhere Package for Visual Studio .NET Setup Utility Version 16.0.0.21784
Copyright (c) 2015 SAP SE or an SAP affiliate company. All rights reserved.
Installing SQL Anywhere Package for Visual Studio 2010......
Succeeded
Replaced part of Web.config:
<entityFramework> <defaultConnectionFactory type="iAnywhere.Data.SQLAnywhere.SAConnectionFactory, Sap.Data.SQLAnywhere.EF6, Version=16.0.0.21784, Culture=neutral, PublicKeyToken=f222fc4333e0d400"> </defaultConnectionFactory> <providers> <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> <provider invariantName="iAnywhere.Data.SQLAnywhere" type="iAnywhere.Data.SQLAnywhere.SAProviderServices, iAnywhere.Data.SQLAnywhere.EF6, Version=16.0.0.21784, Culture=neutral, PublicKeyToken=f222fc4333e0d400" /> </providers> </entityFramework>
After all this, I still see only SQL Server drivers in the list when I try to add ADO.NET Entity Data Model.
Thanks in advance
Leonid Gvirtz
Hello,
We are having a terrible time at a bunch of client sites. I am away for this week but return back in office next week. When I do, I will open a support call directly with SAP to resolve it at high level -- but I need some help/suggestions now so I can be prepared.
We have thousands of sites and we never had issues. Since we've started upgrading client sites to the latest Sybase, their nightly processes are killing us. For example, the nightly process would take about 8 minutes. Now it is taking 3 and 4 hours!!! A process that would take 3 seconds is now taking 10 minutes. The logs show that processing IS happening (it's not frozen) but for some reason things have been pretty bad. In fact one process took from 6:01AM to 6:59AM.
We've already opened a previous call with Sybase and resolved it on our own. We got tons of suggestions, none of them helped - and on my own, I wrote the query myself and got it back to 3 seconds. However - this same query ran at 100's of sites for years without issue and then upgrading to the latest sybase (4204) caused it to take an hour!! Then, I did rewrite it without an access path to one table using a Temp Table and got it back to 3 seconds. BUT YOU HAVE TO REALIZE IT WAS FINE FOR YEARS AT MANY SITES!
One client is extremely upset - a 30 minute job now taking 3.5 hours. It's crazy! We are thinking best plan of attack is simply removing SQL Anywhere and going back to the older version to see if the problem goes away.
Before I open calls - are there any known issues with recent builds of SQL Anywhere with regards to performance or a new way of processing. For us (InnQuest) - our Optimization_Goal is "First_row" and we have had it like that for 10 years or more. I've had sites go back to default and no change just for ha'ha's - and trying it out.
We do not have control over the queries and update statements as we use a language to write our applications and that driver writes all the statements to access SQL Anywhere (ODBC) --- and nothing has changed on our end. But, in other sites, we have NO/ZERO issues. It just makes no sense. We have sites that have issues and some that do not. We take the database to our system and run it, it runs without issue. We run it on their system and it takes an hour. There is no rhyme or reason to what is going on but it is killing our company in terms of customer satisfaction.
I will open a call directly next Monday when I get back into the states ... but what job can I run now to monitor a full performance of a nightly process to give someone here this week to look at it? Again, we dont have control over the statements - the compile/language does that - and none of that has changed.
Our only changes on the SQL Anywhere side (but have been like this for a decade) are:
Optmization_Goal is First_row
Max Cursor Count is 0
Max Statement Count is 0
All the rest is standard default settings.
1. Are there any known issues or reported issues with speed/performance
2. Are there any known changes that would cause these issues in the latest few builds of Sybase
3. Has Microsoft done anything with regards to their updates that could cause this
4. What log would be the best right now to give you - it's not a SINGLE PLAN / Query - this is thousands of queries that run during a nightly process (read a record, update, etc.) -
We've been using SQL Anywhere 9 and 12 for decade with zero performance issues at thousands of sites. These issues have just recently popped up and the only changes we've made on our side is updating our clients SQL Anywhere 12 to the latest builds. (4216)
Thank you very much - we need help!
BH
Hi, we are running SQL Anywhere 16. Currently our client computers are connecting through ODBC. Is there a way to connect to our server from a Remote Location (over the internet)? If yes, how?
Thanks
Aron
I cannot establish a connection from VS 2015 express for Web to SQL Anywhere 16. I can get to SA16 from PowerBuilder and from isql. I have connected by following this article that connects and allows you to run a select statement and it works.
Hodentek: Connecting to SQL Anywhere 16 using Visual Studio 2013 RC for Web.
I cannot get Visual Studio to see Sybase as a provider to connect to. All I see is SQL Server. I have followed the wiki: Using SQL Anywere and the ADO.NET Entity Framework, got no errors running the SetupVSPackage.exe command but I do not see the SQL Anywere as a database connection.
I've been searching and have not found a solution. My customer has been on Sybase for years so I cannot switch to SQL Server. But I need to be able to create some new application(s) with Visual Studio so I need this to work.
Thanks for any suggestions.
Larry Cermak
Hi,
I am trying to start a database on a network location giving path like \\machine-name\mydb\sample.db . START DATABASE sql is not able to start a DB present on another machine or network share.
How can I achieve this ?.
Any help in this regard would be highly appreciated.
Thanks.
I want to transfer data from a SQL Anywhere database to a Microsoft SQL Server database on a second computer. The second computer is running Windows Server 2008R2 and the only application installed on it is Microsoft SQL Server 2008.
I believe I could do this if I had on ODBC driver for SQL Anywhere installed on the second computer.
Where can I find an ODBC driver for SQL Anywhere? I am not sure of the version of SQL Anywhere. Do the ODBC drivers for SQL Anywhere support multiple version of SQL Anywhere?