# Jdbc streaming for mysql and oracle

**URL:** <https://discuss.elastic.co/t/jdbc-streaming-for-mysql-and-oracle/140868>\
**Category:** Logstash\
**Created:** [July 20, 2018, 10:21am UTC](https://discuss.elastic.co/t/jdbc-streaming-for-mysql-and-oracle/140868 "2018-07-20T10:21:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![seungtae](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seungtae/32/71413_2.png) [@seungtae](https://discuss.elastic.co/u/seungtae)\
**Post date:** [July 20, 2018, 10:21am UTC](https://discuss.elastic.co/t/jdbc-streaming-for-mysql-and-oracle/140868/1 "2018-07-20T10:21:55Z")

</div>

In jdbc streaming for mysql, it is possible.

`statement => "SELECT * FROM (SELECT A.CID, ROW_NUMBER() OVER (ORDER BY 1) AS NUM FROM TB_REN016_002 A WHERE LORA_DEVID= :LoraID AND PORT= :port AND MEAIN_STAT_CODE_NO != 7005) WHERE NUM <= 1;"`

> Like this : LORA\_DEVID = :LoraID
> 
> But, in oracle, it's impossible??

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 17, 2018, 10:22am UTC](https://discuss.elastic.co/t/jdbc-streaming-for-mysql-and-oracle/140868/2 "2018-08-17T10:22:00Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
