Send feedback on this topic.
Teradata.Client.Provider
ToString() Method



Teradata.Client.Provider Namespace > TdIntervalSecond Structure > ToString Method : ToString() Method
Converts this instance to its equivalent String representation.
Syntax
'Declaration
 
Public Overloads Overrides Function ToString() As String
'Usage
 
Dim instance As TdIntervalSecond
Dim value As String
 
value = instance.ToString()
public override string ToString()
public:
String^ ToString(); override 

Return Value

A string representation of the TdIntervalSecond will be returned.
Remarks

This method supports the following format specifiers:

Format Specifier Description
G

General interval format.

[sign][seconds].[ffffff]

L

Teradata literal format. This string may be used in generating SQL against the Teradata database.

INTERVAL [sign]'[seconds].[ffffff]' SECOND

Below is the description of each format item.

Format Item Description
sign If negative a minus sign will be displayed.
seconds The number of seconds (one to four digits in length).
ffffff The number of fractional seconds (0 to 6 digits in length).

Requirements

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdIntervalSecond Structure
TdIntervalSecond Members
Overload List