 | SQXXTable Method |
Function [table] XTable([float] StartValue, [float] EndValue, [float] StepValue)
Namespace:
sqx
Assembly:
SQX (in SQX.dll) Version: 1.0.2.6 (1.0.2.6)
Syntaxpublic static IEnumerator XTable(
SqlDouble StartValue,
SqlDouble EndValue,
SqlDouble StepValue
)
Parameters
- StartValue
- Type: System.Data.SqlTypesSqlDouble
[float] - EndValue
- Type: System.Data.SqlTypesSqlDouble
[float] - StepValue
- Type: System.Data.SqlTypesSqlDouble
[float]
Return Value
Type:
IEnumerator[table]
RemarksGenerate table with float values starting at StartValue and ending at EndValue with step StepValue.
StepValue > 0
NOTE: XTable is asynchronous, when sequential numbers are needed use ORDER BY clause.
NOTE: Limit ID = sqx.MaxBigInt() = 9223372036854775807
Attributes
IsDeterministic = true, IsPrecise = true, DataAccess = DataAccessKind.None, SystemDataAccess = SystemDataAccessKind.None, TableDefinition = "ID bigint, Value float"
ExamplesSELECT * FROM sqx.XTable(0, 1, 0.1)
GO
SELECT * FROM sqx.XTable(1, 0, 0.1)
GO
See Also