All Apps and Add-ons

DB Connect dbquery returning int but not varchar fields

vineetgangwar
Engager

Hi,
I just installed DB connect and am able to connect to Sybase. dbquery is returning all fields properly if I run select with int fields only. However, if the select has even one varchar field, then dbquery stops returning values the moment it encounters the first varchar field.

Please let me what I am doing wrong.

Thanks
Vineet

Tags (2)
0 Karma
1 Solution

vineetgangwar
Engager

Ok, got the problem. I was using the Sybase driver to connect to the database. I thought the database was Sybase but it was actually SQL Anywhere. Hence the problem.
I installed the ODBC driver for SQL Anywhere and was able to connect through DB Connect using ODBC. All the queries are working fine now.

View solution in original post

0 Karma

vineetgangwar
Engager

Ok, got the problem. I was using the Sybase driver to connect to the database. I thought the database was Sybase but it was actually SQL Anywhere. Hence the problem.
I installed the ODBC driver for SQL Anywhere and was able to connect through DB Connect using ODBC. All the queries are working fine now.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...