# Как подключиться к sybase iq (How to connect Sybase iq)

**URL:** <https://discourse.nodered.org/t/sybase-iq-how-to-connect-sybase-iq/15251>\
**Category:** General\
**Created:** [7 September 2019 21:37 UTC](https://discourse.nodered.org/t/sybase-iq-how-to-connect-sybase-iq/15251 "2019-09-07T21:37:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![forsag](https://avatars.discourse-cdn.com/v4/letter/f/8797f3/32.png) [@forsag](https://discourse.nodered.org/u/forsag)\
**Post date:** [7 September 2019 21:37 UTC](https://discourse.nodered.org/t/sybase-iq-how-to-connect-sybase-iq/15251/1 "2019-09-07T21:37:20Z")

</div>

Добрый вечер, я новенький в использовании node red, подскажите пожалуйста как я мог создать узлы для подключеение и создание запроса в базу данных Sybase iq.  
Буду очень благодарен если будет пример обращенния в Sybase iq. извините если за мой английский.  
Good evening, I'm new to using node red, please tell me how I could create nodes for connecting and creating a query to the Sybase iq database.  
I would be very grateful if there would be an example of circulation in Sybase iq. sorry if for my english.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [8 September 2019 08:43 UTC](https://discourse.nodered.org/t/sybase-iq-how-to-connect-sybase-iq/15251/2 "2019-09-08T08:43:03Z")

</div>

I don't know Sybase IQ at all - but it seems like it may be an SQL database so one of the nodes on [flows.nodered.org](http://flows.nodered.org) that handles sql may be able to connect.

---

<div class="post-metadata">

**Author:** ![kuema](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kuema/32/6542_2.png) [@kuema](https://discourse.nodered.org/u/kuema)\
**Post date:** [8 September 2019 09:03 UTC](https://discourse.nodered.org/t/sybase-iq-how-to-connect-sybase-iq/15251/3 "2019-09-08T09:03:45Z")

</div>

Here is my workflow, if I need to integrate something new into Node-RED:

1. search in the [flow library](http://flows.nodered.org/) for existing nodes  
in many cases someone has already written something you can use

2. search at [NPM](https://www.npmjs.com/)

- look for node-red nodes, some are not listed in [flows.nodered.org](http://flows.nodered.org)
- look for NodeJS libraries: I came up with [https://www.npmjs.com/package/sybase](https://www.npmjs.com/package/sybase)

From there you have two choices:

1. integrate the library in your settings.js in `functionGlobalContext` and use it in a function node
2. wrap the library in a new node by following the [docs](https://nodered.org/docs/creating-nodes/)  
(and hopefully share it with the community) 😀

I would recommend the latter, if there is some more complex client state handling involved (connections, etc...)
