sybase Questions
33
I have the below error when I execute the following script. What is the error about, and how it can be resolved?
Insert table(OperationID,OpDescription,FilterID)
values (20,'Hierachy Update',1)
...
Poundfoolish asked 26/8, 2009 at 11:19
8
What are the available Sybase GUI clients for Windows.
I have tried DBVisualizer and RazorSQL any other recommendations. Free preferred
Myosin asked 15/2, 2011 at 9:19
3
Solved
When attempting to do an OPENQUERY from Sybase to Microsoft SQL I run into an error:
Duplicate column names are not allowed in result sets obtained through
OPENQUERY and OPENROWSET. The column ...
Dubitation asked 19/5, 2015 at 13:39
4
Solved
I am trying to connect to Sybase database from .net core but I do not find any good library. Can someone suggest library to connect to Sybase?
Strobilaceous asked 6/4, 2017 at 16:0
1
Solved
According to this guide I successfully connected to Sybase database in my django project in virtual environment.
After deployment in Apache the web writes this error message
Environment:
Request ...
Vtarj asked 9/2, 2022 at 17:54
3
Solved
I am attempting to update a temp table from a source table:
UPDATE #DETAIL
SET EXCD_ID, CDOR_OR_AMT, CDOR_OR_VALUE
(SELECT
CDID_ADDL_DATA_1, CDID_ADDL_DATA, CDID_VALUE_STRING
FROM
CMC_CDID_...
8
Solved
Is there any simple way to implement pagination in sybase?
In postgres there are limit and offset in mysql there is limit X,Y. What about sybase? There is top clausure to limit results but to achie...
Marlea asked 13/10, 2011 at 19:7
13
If I have data like this in a table
id data
-- ----
1 1
1 2
1 3
2 4
2 5
3 6
3 4
How do I get results like this in a query (on sybase server)?
id data
-- ----
1 1, 2, 3
2 4, 5
3 6, 4
3
I have 200K rows to be inserted in one single database table. I tried to use jdbcTemplate.batchUpdate in spring in order to do insertion 10,000 per batch. However, this process consumes too much ti...
Bible asked 19/9, 2016 at 14:48
2
Solved
I come from MySQL and the below query doesn't work in Sybase. How should I escape single quotes?
UPDATE Animals SET NAME = 'Dog\'s friends' WHERE uid = 12
2
I am currently beginning playing around with Sybase PowerDesigner and its Physical Data Model (PDM).
I have managed to create some entities/tables, columns, et cetera, and the case in the generate...
Kamat asked 23/7, 2009 at 20:9
5
Solved
How do I get the current time only?
select getdate()
Gives me:
Dec 16 2016 5:41PM
I want this result:
5:41PM
6
Solved
I am using Sybase and I am doing a select which returns me a column called "iftype", but its type is int and I need to convert into varchar. When I try to do the select without the convert function...
Affianced asked 14/11, 2013 at 13:54
6
Solved
I do not understand why, but somehow this query doesn't work.
I want to take system date -1 day where the sysdate is smaller by 1 day then current date.
WHERE
a.SEND_Date >= dateadd(DD,-1,(CAS...
Guenna asked 12/1, 2016 at 8:33
2
While executing Sybase procedure from JDBC, I am getting below error:
Execute cursor is declared on a procedure which contains a non-SELECT
or a SELECT with COMPUTE clause. for the declaration...
7
Solved
I have SQL Server 2008 with a linked Sybase server and I am trying to execute a stored procedure on the Sybase server using OPENQUERY. If I have a stored proc that doesn't take parameters it succee...
Bosnia asked 11/11, 2010 at 21:31
5
Solved
There are multiple table in my sybase database. I want to know the column name and datatype of a given table like (myOrder table). How can I do this? Below script I found on stackoverflow From a Sy...
3
Solved
In sql server 2012 i'm using
USE myDatabase;
GO
SELECT *
FROM sys.objects
WHERE type = 'U';
Is it possible to do the same in syBase ?
5
Solved
Facing difficulty in configuring Sybase server with a fresh Spring boot application. Not sure how to configure Sybase server with spring boot successfully. Getting error "Cannot load driver class: ...
Uncurl asked 4/4, 2018 at 19:16
4
How do I list all the tables in a database that contain a column with a given name?
Handclasp asked 3/1, 2011 at 7:55
4
I am facing a problem in executing queries with CASE statement.
Based on my condition,(for eg. length), I want to execute different SQL statement.
Problematic sample query is as follows:
select c...
3
Solved
I have the following Perl script:
use strict;
use warnings;
use DBI;
my $db_connect = 'dbi:Sybase:server=10.2.2.2\CATDB;charset=utf8;database=Dev';
my $db_username = "*****";
my $db_pass...
Seat asked 4/6, 2014 at 5:14
2
While exporting the resultset i could only find 2 variables that can be used to name a file(table and timestamp).
Does anyone know if custom variables/patterns can be created? I looked for some do...
4
(Similar question related to SQL Server : SO Link)
I know in Sql Server 2008 or above, you can insert multiple rows doing the following:
INSERT INTO MyTable (Name, ID)
VALUES ('First',1), ('Secon...
Gorgon asked 8/7, 2014 at 15:6
12
Solved
I have access to command line isql and I like to get Meta-Data of all the tables of a given database, possibly in a formatted file. How I can achieve that?
Thanks.
1 Next >
© 2022 - 2025 — McMap. All rights reserved.