com.mysema.query.sql.mssql
Class SQLServerGrammar

java.lang.Object
  extended by com.mysema.query.sql.mssql.SQLServerGrammar

public final class SQLServerGrammar
extends Object

Convenience functions and constants for SQL Server usage

Author:
tiwe

Field Summary
static NumberPath<Long> rn
           
static NumberExpression<Long> rowNumber
           
 
Method Summary
static
<D extends Comparable<D>>
DateExpression<D>
dateadd(DatePart datePart, int num, D date)
           
static
<D> NumberExpression<Integer>
datediff(DatePart datePart, D start, D end)
           
static RowNumber rowNumber()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rowNumber

public static final NumberExpression<Long> rowNumber

rn

public static final NumberPath<Long> rn
Method Detail

rowNumber

public static RowNumber rowNumber()

datediff

public static <D> NumberExpression<Integer> datediff(DatePart datePart,
                                                     D start,
                                                     D end)

dateadd

public static <D extends Comparable<D>> DateExpression<D> dateadd(DatePart datePart,
                                                                  int num,
                                                                  D date)


Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.