Skip to content Skip to sidebar Skip to footer
Showing posts with the label Teradata

Writing Efficient Queries In Sas Using Proc Sql With Teradata

EDIT: Here is a more complete set of code that shows exactly what's going on per the answer be… Read more Writing Efficient Queries In Sas Using Proc Sql With Teradata

Optimizing Huge Value List In Teradata Without Volatile Tables

Have a value list like` `where a.c1 in ( list ) ` Then shoving the list in the volatile table is t… Read more Optimizing Huge Value List In Teradata Without Volatile Tables

Sql/regex Challenge/puzzle: How To Remove Comments From Sql Code (by Using Sql Query)?

Requirements Single-lines comments (e.g. -- my comment) should be removed. Multi-line comments (e.… Read more Sql/regex Challenge/puzzle: How To Remove Comments From Sql Code (by Using Sql Query)?

Group By Concat Teradata

I have a problem with a table, I would like to concat a string field using a group by. I have this … Read more Group By Concat Teradata

How To Delete Records From A Column Which Belong To A Different Data Type?

So I inserted few records in a table manually (without using Stored procedure) and rows were fine u… Read more How To Delete Records From A Column Which Belong To A Different Data Type?

Select Two Values And The Two Values With Which Former Values Have Minimum Distance With

I have three columns Key, x1, y1 1 31 34 2 43 40 3 41 44 4 100 40 My expected … Read more Select Two Values And The Two Values With Which Former Values Have Minimum Distance With

How To Count Rows With Rounded Valus In Sql Teradata?

I work in SQL Teradata. I would liek to count how many rows (clients) have rounded value in column … Read more How To Count Rows With Rounded Valus In Sql Teradata?

Count Consecutive Duplicate Values By Group

I have searched the site a bit for a solution to this question but have been unable to find an answ… Read more Count Consecutive Duplicate Values By Group

While Loop In Teradata Procedure

I'm trying to write a procedure that concatenates all rows in a table in the case in which the … Read more While Loop In Teradata Procedure

How Can I Grab A Value Of A Column That Is Set As A String?

I have a table that contains a column with a list of levels. This column has a data type of string.… Read more How Can I Grab A Value Of A Column That Is Set As A String?

How Do I Filter Out Nan Float Values In Teradata Sql?

With the Teradata database, it is possible to load values of NaN, -Inf, and +Inf into FLOAT columns… Read more How Do I Filter Out Nan Float Values In Teradata Sql?

Quicken Upload Of 3000 Inserts Into Teradata Via Vba

Thank you so much to the answer from jacouh (VBA Copy & Paste 3000 rows) to my initial problem.… Read more Quicken Upload Of 3000 Inserts Into Teradata Via Vba

Time Interval Overlaps - Teradata

I need help with interval overplaps. I have these records in one table (and much more): Example 1: … Read more Time Interval Overlaps - Teradata

Teradata Sql Stack Rows Per User

Is there a way to stack/group string/text per user ? data I have USER STATES 1 CA… Read more Teradata Sql Stack Rows Per User

Teradata - Comparing Varchar To Decimal

I am very new to Teradata and SQL in general. I need to create a table by combining data from three… Read more Teradata - Comparing Varchar To Decimal

Nosuchmoduleerror: Can't Load Plugin: Sqlalchemy.dialects:teradata

Hi I am attempting to use sqlalchemy-teradata to write a pandas dataframe into a Teradata table. He… Read more Nosuchmoduleerror: Can't Load Plugin: Sqlalchemy.dialects:teradata

How To Write A Dynamic Sql Code In Teradata?

I am trying to convert this code (which accepts a column name as input, does calculations on the in… Read more How To Write A Dynamic Sql Code In Teradata?

Max() And Max() Over Partition By Produces Error 3504 In Teradata Query

I am trying to produce a results table with the last completed course date for each course code, as… Read more Max() And Max() Over Partition By Produces Error 3504 In Teradata Query

Sum On Multiple Left Joins

I am trying to sum the total value of a column for a specific ID after multiple left joins. The bel… Read more Sum On Multiple Left Joins

Insert Into Table Teradata Dynamic Stored Procedure Sql

I am trying to create a Stored Procedure in Teradata that will accept various arguments. My query … Read more Insert Into Table Teradata Dynamic Stored Procedure Sql