Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
56 views

I want to query multiple tables across databases, something like: declare @sql varchar(100) select @sql = 'select * from mydb1..mytable' select @sql = 'select * from mydb2..mytable' exec(@sql) ...
levant pied's user avatar
  • 4,651
0 votes
0 answers
63 views

I want to extract the status of a database. How can I do this using a Python script? I tried to write a simple Python script, but it did not produce the desired output. My requirement is to extract ...
Sunny's user avatar
  • 11
0 votes
1 answer
52 views

Sybase SQL syntax for accessing tables is <user>.<table>. I am using the ASE ODBC driver to connect Excel to an old on-premise installation of Sybase, which requires a logon username to ...
Enrico's user avatar
  • 335
2 votes
1 answer
48 views

Say I have declare c cursor for select * from table If I ran the above twice, it would fail with There is already another cursor with the name 'c' at the nesting level '<pointer>' I can ...
levant pied's user avatar
  • 4,651
1 vote
0 answers
62 views

I am very new to Sybase ASE (my first time actually after moving from the Oracle & Snowflake). My question : Does Sybase allow any analytic function (RANK, ROW_NUMBER, SUM() OVER etc.)? I am ...
Jay's user avatar
  • 87
2 votes
1 answer
83 views

After a while I'm again asking for help, as I couldn't think of solution. I have this SQL query: SELECT * FROM (SELECT TOP 1 ac_registr, event, CASE WHEN dimension = "C" THEN "Cycles&...
Karel Klíma's user avatar
2 votes
0 answers
138 views

As part of the modernization effort (move from Sybase ASE to SQL Server), we are removing old implicit join operators and rewriting SQL using ANSI join style. When running both queries, I saw that my ...
Eric Brown - Cal's user avatar
2 votes
1 answer
144 views

I have a table with account_number, amount , last_updated_time. I wrote a merge query as below MERGE INTO account AS target USING (SELECT ?,?,?) AS SRC(account_number, amount , last_updated_time) ON ...
user2800089's user avatar
  • 2,501
1 vote
1 answer
69 views

We are having a performance issue with our sybase ASE database version 16.0.03.11. The TRUNCATE TABLE x PARTITION y runs for hours although the actual partition has 0 records. How does the truncate ...
Ned D's user avatar
  • 11
0 votes
1 answer
104 views

I am getting the following error in one of my C# ASP.NET MVC applications: The type initializer for 'Sybase.Data.AseClient1.AseConnection' threw an exception Notice that it says AseClient1 and not ...
Frank Martin's user avatar
  • 3,469
2 votes
2 answers
323 views

I am using a sybase ase 15 database. And I have a column of type image (this column stores SQL querys) so I have to convert it to varchar to return the text. The problem is that I can't return more ...
PeByte's user avatar
  • 53
2 votes
0 answers
43 views

I want to fetch important performance metrics from SAP ASE/Sybase databases. These include: Percent of lock used Percent of active connections Heap Memory Utilization % Memory Utilization % Disk ...
Harsh Patel8's user avatar
2 votes
2 answers
153 views

I referred to this question I am trying to get the top 5 sequence of each id. I am using Sybase Ase 16.0 and i believe Rank/Partition is not supported My expected output is something like id sequence -...
asb's user avatar
  • 843
1 vote
2 answers
699 views

I have downloaded the SDK for Adaptive Server Enterprise - Linux on x86_64 64bit (sybase version 16.0) After uploading to a Red Hat Linux machine, RHEL 7.5 Running the install, the installer exits ...
skoerber's user avatar
-1 votes
4 answers
140 views

Using Sybase SQL (DBMS: Adaptive Server Enterprise/16.0.), I want to find the records fulffilling certain simple requirements (such as DEBITCREDIT == 'D') AND the following requirement: the sum of the ...
Thomas_SO's user avatar
  • 2,631
0 votes
0 answers
234 views

I hope you could help me on the following problem. I have the below query which is taking too munch time (hours) and it is eating all the resources available ( currently I have 2 engines of sybase ase ...
user3303852's user avatar
0 votes
1 answer
7k views

Can someone please help me to get list of all users, created date and assigned roles to users in Sybase database? I tried all ways but no luck. Thank you. I tried to find in syslogins and sp_display ...
Sanchit's user avatar
0 votes
0 answers
180 views

I am trying to find active triggers and their associated tables in Sybase. What would be a written query? I found the following SQL command useful select * from sysobjects where type = "TR"...
user84's user avatar
  • 905
0 votes
0 answers
99 views

I was querying tables in sysobjects when I accidentally pressed "D", triggering the delete row option in the results pane. For some reason, I can still query the table using the select ...
JC Tejada's user avatar
1 vote
0 answers
344 views

I'm using Spring PlatformTransactionManager with jTds and Sybase ASE 16. I cannot use AutoCommit because it will SET CHAINED ON and the database I'm working has triggers with unchained procedures. So ...
Thiago Sayão's user avatar
0 votes
1 answer
1k views

How do I select current database name and all the schema for the database name in SYBASE ASE using a query tried Select db_name gives invalid column name
Kirito's user avatar
  • 3
1 vote
1 answer
371 views

I need to connect a Sybase ASE database with a specific charset. I have data with a charset that cannot be read properly by the default charset of Sybase ASE. I know how to connect with "isqln -J&...
cserma's user avatar
  • 11
1 vote
0 answers
302 views

I have tried to change the customerID number for the sales table but constantly facing constraints issues. UPDATE sales set s.customerId = '15' from sales s where s.customerId = '28' and s....
EMPZ's user avatar
  • 11
4 votes
0 answers
509 views

I noted an (for me) unexpected behavior on ltrim() and rtrim() functions on Sybase ASE T-SQL engines. The weird behavior I observed occurs on ltrim() and rtrim() functions for empty and only-spaces ...
Mauricio Ortega's user avatar
0 votes
0 answers
131 views

Could you please help me with the correct URL format to connect to Sybase using the DBCP connection pool of NiFi? The URL format that I have tried is - jdbc:sybase:Tds://host:port I keep getting this ...
olivia's user avatar
  • 129

1
2 3 4 5
27