简体   繁体   English

如何在Teradata SQL Assistant中查找错误的行号

[英]How to find the line number of error in Teradata SQL Assistant

I'm new to Teradata SQL Assistant and have a simple issue that couldn't find the solution in Terada documentations.我是 Teradata SQL Assistant 的新手,遇到一个简单的问题,无法在 Terada 文档中找到解决方案。 我看到以下错误

How I can find the exact location of this error?我怎样才能找到这个错误的确切位置?

You need to parse the input and find strings that don't conform to your expectations.您需要解析输入并找出不符合您预期的字符串。

For example...例如...

SELECT
  *
FROM
  your_table
WHERE
  TryCast(your_column AS INT) IS NULL

https://docs.teradata.com/r/Teradata-Database-SQL-Functions-Operators-Expressions-and-Predicates/March-2017/Data-Type-Conversions/TRYCAST/Syntax-Elements/data_type https://docs.teradata.com/r/Teradata-Database-SQL-Functions-Operators-Expressions-and-Predicates/March-2017/Data-Type-Conversions/TRYCAST/Syntax-Elements/data_type

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM