Re: ODBC driver for SQL Anywhere
Presumably you have access to the computer with the running SQL Anywhere database. That computer should contain all the files necessary for deploying an ODBC driver to another computer. You need to...
View ArticleFunction vs. Stored Procedure
Some of our developers use functions as you would stored procedures, i.e., for database updates/inserts/deletes, the creation of temporary tables, and just plain returning the value of a computation....
View ArticleRe: Function vs. Stored Procedure
When comparing alternatives, only a volume test in a real-world environment will determine which is faster. Having said that, assuming that neither the function call nor the procedure call is combined...
View ArticleRe: Function vs. Stored Procedure
Well... using SQL Anywhere 11. I don't have a concern with performance, per se, I'm just wondering if it's an acceptable practice to use functions to do the work of stored procedures. Other DBMS's...
View ArticleRe: Function vs. Stored Procedure
In SQL Anywhere a block is a block is a block... the code you can write inside a BEGIN END block is pretty much the same whether it is a procedure, function, event, trigger or just a BEGIN END all by...
View ArticleSuggestion: add a link to the forum
Some people ask question here in the community page for SQLA, I would like to suggest to provide them a simple access to the SQLA Forum, so that a one stop for questions and answers exists.
View ArticleRe: Suggestion: add a link to the forum
I agree... although the UI here has improved (it is no longer execrable, merely unusable)
View ArticleHigh Availability Mirror crashes on Grant Connect
Hello, we have an environment with a consolidated database using SQL Remote to service 4 remote databases. We have just set up and installed the HA option on the consolidated database and its working...
View ArticleRe: High Availability Mirror crashes on Grant Connect
What version and build of SQL Anywhere are you using? e.g., 16.0.0.1823 Can you reproduce the problem using a small test database setup? You might have better luck asking your question on the other...
View ArticleDNS in xp_startsmtp
I'm having trouble with the xp_startsmtp in SQLA 12.0.1. When I ping aspmx.l.google.com from the server the db is on, it resolves the name properly, but when I try to use that server name in...
View ArticleRe: DNS in xp_startsmtp
You might have better luck asking the question on SAP SQL Anywhere Forum FWIW I can ping that domain, but V12 xp_startsmtp gives error code 100 socket error for both the domain and the IP. The V16...
View ArticleRe: High Availability Mirror crashes on Grant Connect
Hello Breck, fwiw we're using 12.0.1.3726 and we have full support. I decided to create an incident as we don't have the time to set up a complete test bed. Why were you so kind in calling SAP...
View ArticleRe: High Availability Mirror crashes on Grant Connect
Wellll, it's not all bad news; that other forum isn't doesn't use the crappy software that runs this site, it is loosely based on the original stackoverflow / stackexchange design. Don't let the name...
View ArticleRe: High Availability Mirror crashes on Grant Connect
Hi Paul, What assertion number do you receive on the mirror server? 100904?Does this happen every time a user changes their password, or intermittently?Are users connected to the mirror server with...
View ArticleReplication Log, PC Shutdown
If a computer is shutdown before replication has completed, does it show up in the replication log? If so, how does it show in the replication log?
View ArticleRe: Replication Log, PC Shutdown
Hi Jonathan, No, a system shutdown won't be explicitly recorded in the dbremote output / console log. dbremote entries typically look like this between dbremote runs (shut down / start-up): I....
View ArticleHow to Load table from client file in C?
Hi all, I'm trying to determine how to write a C program to load a client file with the "load table ... using client file..." syntax without calling out to the dbisql program to load the table. I'm...
View ArticleRe: How to Load table from client file in C?
Whats your question? You should be able to do what you want. The LOAD TABLE statement is not DBISQL specific, so you can execute it from any SQLA DB interface. --Jason
View ArticleRe: How to Load table from client file in C?
Thanks Jason, I guess my question is this: Do I have to do anything in my C program to allow for the load table from client file? On a side note, is there a connect option or similar to disallow the...
View ArticleRe: How to Load table from client file in C?
There is nothing special to do - you execute the statement from your program just like any other SQL statement. The only thing to be aware of are the privilege/permission issues:When loading from a...
View Article