A range of RDBMS and BI products from Sybase Corporation, distantly related to MS SQL Server. Their RDBMS offerings span the full range from an enterprise-grade "big iron" RDBMS down to a lightweight mobile RDBMS. On the BI side, they have a DW/BI solution called Sybase IQ.

learn more… | top users | synonyms

1
vote
0answers
21 views

How to get list of tables, views etc. a users has rights to?

I'm looking for a way to get a list of views, tables, procesdures etc, a user has been granted to. A select onto SYSROLEGRANTS helped me to find basic role of users -- but not more like this. So ...
1
vote
1answer
33 views

Sybase ASE 12 question

I support a database that has many tables that hold very similar data. Over time, much of this data isn't needed, and the table names are dynamic as an application is creating these tables, and the ...
3
votes
2answers
103 views

What's the best way to get data for sampling points within a timeframe

I'm looking for some advicse, how to setup a set of queries, which are checking for a aggregated value for sampling points within a time period. This should run at an IQ-server, so maybe not this many ...
0
votes
0answers
20 views

Sybase ASE 12.5 on VMWare extremely slow cursors

There is a poorly written stored proc in an older Sybase 12.5 database that I need to make faster, but I can't change the code. I can change the database settings, indexes, engines, OS settings, etc. ...
5
votes
0answers
52 views

OLE DB Sybase Connection Failing

I have a connection to a Sybase database which we stage in a SQL Server 2008R2 database. I can connect the the database and the connection tests out fine. I am using an OLE DB source with a Sybase ...
0
votes
0answers
11 views

ASE 15.03 mixed data and log segements

I have a DB with mixed data & log segments. I also have some log on data device & the other way too.. The target is to have the data & log segments aligned properly , please guide me how ...
0
votes
1answer
34 views

Sybase9, not using full system capacity

The SSD I/O capacity is around 450MB. When I copy files from one folder to another I can see in the Windows Resource Monitor that the sum of read/write speed gets around 450MB. Why the same wont ...
0
votes
1answer
71 views

Limiting memory for Sybase SQL Anywhere

I have to use Sybase's SQL Anywhere for a project so it has been put on a VM. Memory consumption is particularly high for a not overly taxed database and it's putting a lot of pressure on the VM. ...
1
vote
1answer
69 views

How to know spid which is filling tempdb from temp table name in sybase

I received alert that tempdb is going to be full and temp table name aslo provided. Now I want to know how to check which spid is filling tempdb from temp tablename.
3
votes
3answers
70 views

Backup & recovery strategies for Partitioned Database in Sybase ASE

I need to know about backup & recovery strategies for partitioned Database in Sybase ASE 15.7 . I am not worried about transaction failure & recovery scenarios We have already faced this 2 ...
1
vote
1answer
289 views

How can I create view with parameters in Sybase SQL Anywhere?

A view with Sybase cannot take parameters. Is there a way to do this?
0
votes
1answer
171 views

Script or any method in sybase iq 15.2 that will log user's queries,access to database

I am struggling to get way to log user connection access,queries that are fired to database(SYBASE IQ 15.2). I tried request level logging but it has great performance impact.Is there any way ,script ...
3
votes
1answer
2k views

How to split/explode comma delimited string field into SQL query

I have field id_list='1234,23,56,576,1231,567,122,87876,57553,1216' and I want to use it to search IN this field: SELECT * FROM table1 WHERE id IN (id_list) id is integer id_list is varchar/text ...
1
vote
0answers
124 views

kerberos authentication in sybase

we are setting up Kerberos authentication in Sybase (linux). DB version is 15.7. We are using Active directory for kerberos. We have done the configuration settings on the DB side and kerberos is ...
1
vote
0answers
70 views

How to calculate the ratio insert/select against a table to manage the index in Sybase ASE?

To create/manage indexes of a table, it is important to know the ratio insert/select or modification/reporting. For instance, if there are more INSERTS than SELECT against a table, we should try to ...
0
votes
1answer
95 views

how to view content of xbase procedures?

I would like to view the code of my xbase stored procedures. I recognize that show procedures gives me the list of procedures. Can anyone instruct me on how to get the actual code for the stored ...
0
votes
0answers
158 views

Migrating form Oracle to Sybase fails due to missing functions

I generated the DDL from Oracle to Sybase, created the tables with no issues even migrated most tables into Sybase using insert into, however when came to the time functions I get errors: Function ...
0
votes
0answers
231 views

SQL nested select (query rows after variable), running slow

Have large table (Sybase) rows = 6276225. I'm pulling call status and my query is very slow. In effect what I’m trying to do is pull data for any event after my variable. While querying for just one ...
3
votes
1answer
458 views

update statement with self join

I needed to copy information from one row of a table to another. I noticed I could do the following: update address set col1 = a2.col1, col2 = a2.col2, .....etc from address a1, address a2 where ...
2
votes
1answer
934 views

Sybase SQL - Truncation error occurred. Command has been aborted and find CACHE QUALITY

Need help with below code, as it fails with truncation error Truncation error occurred. Command has been aborted. create table monCacheQuality ( ServerName sysname ...
1
vote
2answers
676 views

How can I migrate a sybase database to mysql? [closed]

I've been tasked with migrating a fairly complex legacy Sybase database into a MySQL database and I have no idea where to start. I can't use any off the shelf software, so I'm going to have to write ...
2
votes
1answer
144 views

Load sybase .db into new sybase developer server

We've got a few .db files laying around here which were created by Sybase (version 8.x, I guess) and I've the task to extract some data from those old databases. Now I've installed the latest Sybase ...
2
votes
4answers
2k views

Search every column in every table in Sybase Database

I'm been taxed with the task of creating an application that pulls data from our Micros Point of Sales system. The POS is using a Sybase database running on one of our servers. The database schema is ...
1
vote
1answer
232 views

Sybase Databse Migration from 11.5 to 15

I have to migrate the Sybase Database from 11.5 version to 15. I would like to know few things mentioned below - i) What are the neccessary steps i need to follow in this migration. ii) What are the ...
1
vote
1answer
2k views

Difference between reorg-rebuild and index re-create in Sybase ASE

Could someone please explain what the main differences are between reorg-rebuilds and index re-creation in Sybase ASE?
1
vote
1answer
297 views

Does fast bcp replicate in sybase sql statement replication?

Is it possible to replicate fast bcp using sql statement replication in sybase?
1
vote
1answer
2k views

Sybase ASE 15 “reorg rebuild” fixes performance issues - why and how to tell when it's needed?

I had a table of several million rows in a Sybase ASE 15 server which was running extremely slow, even basic queries would take 5 minutes to execute, for example: SELECT COUNT(1) FROM TABLENAME; ...
1
vote
1answer
224 views

Whether it means the end time of the SYBASE LICENSE?

I want to know the meaning of "2013.03010/permanent/0C94 6187 B194 DF07", Whether it means the end time of the SYBASE LICENSE? sybase log 00:00000:00016:2011/01/03 14:15:37.02 kernel SySAM: ...
0
votes
1answer
1k views

Parameter for Sybase Sql Anywhere 12 Serverport

If SQL Server Anywhere is started via "dbsrv12.exe -z -x tcpip " it opens a Serverport. Default is 2638. If more then one database is opened, the other ones are getting "some" serverports. How ...
2
votes
1answer
203 views

How compatible are Sybase and SQL Server clients connecting to the alternate back end?

Given the shared history of the Sybase and SQL Server products, and their use of a similar (identical?) wire protocol in TDS, what definite statements can be made, if any, about cross compatibility. ...
0
votes
0answers
220 views

Which database tool to connect to Sybase 15 servers?

The Sybase servers which I am working on have just been switched to LDAP authentication. I was using DBArtisan before that, and used to input separate login name and password. Now I don't see any ...
0
votes
0answers
453 views

Sybase ASA 9 Central exception on connecting to old database

I have installed sybase ASA 9 i used the sybase central to connect to an old version .db file of ASA version 6, a wizard popup and ask yes or no to unload the database .. for upgrade i click yes ...
1
vote
0answers
174 views

Sybase anywhere sql server connection problems

in my work we have a software system based on sybase adaptive server any where version 6 installed on a windows server 2008. the system work fine but after a period of time from system start problems ...
2
votes
1answer
218 views

How are foreign keys resolved when creating tables in batch?

I am creating a database version management tool with the goal of being able to recreate a database from scratch using text/sql files contained in source control. As part of establishing a baseline ...
0
votes
3answers
4k views

How to import Sybase .db file into SQL Server database?

I've been given a Sybase .db file by a client and I need to import that into a new SQL Server database so that I may see the data as well as the tables and their relationships, any ideas on how that ...
0
votes
1answer
286 views

New transactions during a Sybase “dump database” command

I have a Sybase 15.5 database which is backed up every night using the DUMP DATABASE command. The process takes about 30 minutes. What happens to the transactions that occur within those 30 minutes? ...
2
votes
3answers
374 views

Refactoring Series of UNIONs in single table (SQL/SYBASE)

I am trying to query a database and reformat the rows/columns that I am interested in. Each row in the current table (EQ) represents a field in a form. In reality, there are several hundred FieldNum ...
1
vote
1answer
299 views

How to sync a table between oracle and sybase

I have a table in Sybase (destination) that I would like to keep it synced with a table in Oracle (source) I cannot truncate and populate the table in Sybase because it is used by an application, I ...
2
votes
1answer
572 views

Load database from Solaris (Sybase 15.0.3) to VMWare Solaris (Sybase 15.7.0)

I need to perform a load of a Sybase (15.0.3) Database from a Sun Solaris 5.10 environment (on sparc architecture) to Sybase (15.7.0) on Solaris 10 (on i86pc architecture) running on my vmware ...
2
votes
1answer
6k views

sybase format datetime yyyymmdd

This seems like something trivial would be easy, but I couldn't find a good way to do it. This is what I came up with: select convert(numeric, (select ...
0
votes
1answer
457 views

Strange Sybase / SQL Server linked server issue

I have a sybase table which has a column note varchar(1000) null. The following T-SQL will get the following error if there is a not-null value in note. (sybase is the linked server to the Sybase ...
3
votes
3answers
977 views

Best way to work around NOT IN NULL issue?

There are plenty of explanations of why NOT IN NULL doesn't work, but I didn't see any solutions. (recent question here: Why does NOT IN with a set containing NULL always return FALSE/NULL?) I have 6 ...
1
vote
1answer
473 views

In Sybase, what can I do to figure out why my Transaction Log is filling up?

We have a process that runs each morning to load about 40,000 rows from one server to another. In the past few weeks, the process has been having a 'log suspend' once or twice a week. This is ...
1
vote
1answer
102 views

Should I use table hints with a process-keyed table?

I read on stackoverflow that locking can be a problem when using process-keyed tables, and I was wondering if you had any suggestions on how to minimize or avoid unnecessary contention (e.g. table ...
1
vote
1answer
205 views

where clause short circuit? (sybase)

Lets say we've created a stored proc that has an optional input parameter. Will SQL short circuit properly allowing the performance of the following two to be equivalent? I ask because I am modeling ...
1
vote
1answer
4k views

Error when load db dump (cross platform)

After a Sybase (15.0.3) compress dump a database on the original platform - Solaris Sparc 64 - with all the required steps (even the quiesce step), I have tried to load it on my Sybase (15.7) Solaris ...
0
votes
1answer
161 views

Equivalent of include clause while creating non clustered index in sybase?

I searched on creating non clustered index with included columns for sybase database. But I don't think "include" is allowed while creating index. Is there any equivalent in sybase?
2
votes
1answer
828 views

Tracing/Logging of Sybase ASA

Trying to get logging/tracing of Sybase 9.0.2.3396 (Adaptive Server Anywhere). I wish to log all the SQL executed against the database. I tried RIBO and while I got it "working," I never saw anything ...
1
vote
1answer
1k views

query for COLUMN_NAME LIKE “X” in sybase(Transact SQL)?

I need to automate writing a query in Sybase. The table looks like this: ID, A1, A2, A3, ..., A24, B1, B2, B3, ..., B24, etc. I would like a query where the user can choose which columns are ...
6
votes
2answers
975 views

When is a result returned deterministic and when not?

if you execute a statement like this: select first field1, field2 from exampleTable where field1 = '1'; then you get a warning like this: The result returned is non deterministic SQLCode=122 ...