# No results when SQL Statement contains "Create ClusteredIndex"

**URL:** <https://discuss.elastic.co/t/no-results-when-sql-statement-contains-create-clusteredindex/229732>\
**Category:** Logstash\
**Created:** [April 24, 2020, 11:10pm UTC](https://discuss.elastic.co/t/no-results-when-sql-statement-contains-create-clusteredindex/229732 "2020-04-24T23:10:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sidsniper](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sidsniper/32/57320_2.png) [@sidsniper](https://discuss.elastic.co/u/sidsniper)\
**Post date:** [April 24, 2020, 11:10pm UTC](https://discuss.elastic.co/t/no-results-when-sql-statement-contains-create-clusteredindex/229732/1 "2020-04-24T23:10:11Z")

</div>

Hi Team,

I am facing an issue where if I am adding a cluster or nonclustered index to temp tables in the sql statement, the jdbc input plugin is not giving any results. Any idea how I can create these indexes in temp tables? I am currently using SQL Server JDBC driver.

---

<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:** [May 22, 2020, 11:10pm UTC](https://discuss.elastic.co/t/no-results-when-sql-statement-contains-create-clusteredindex/229732/2 "2020-05-22T23:10:11Z")

</div>

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