Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Sql打印 #6313

Open
lilanlong opened this issue Jan 6, 2025 · 0 comments
Open

[BUG] Sql打印 #6313

lilanlong opened this issue Jan 6, 2025 · 0 comments

Comments

@lilanlong
Copy link

lilanlong commented Jan 6, 2025

Database Type

SqlServer

Database Version

Microsoft SQL Server 2016 (SP3-GDR) (KB5046855) - 13.0.6455.2 (X64) Oct 15 2024 11:23:31 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows Server 2012 R2 Standard 6.3 (Build 9600: ) (Hypervisor)

Druid Version

1.2.24

JDK Version

jdk1.8

Error SQL

/888/SELECT a.* FROM account a /999/ left join dc_hospital h /888/ on a.id=h.hospcode where a.create_time>?

通过 SQLUtils.format后得到下面的sql,为什么有些注释就没有了呢?

select a.* from account a left join dc_hospital h on a.id = h.hospcode where a.create_time > TIMESTAMP '2025-01-06 09:53:16.774'

Testcase Code

No response

Stacktrace Info

No response

Error Info

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant