You could use the DATEADD function to get the desired result:
SELECT *
FROM table
WHERE paydate >= DATEADD(month, -3, GETDATE())
AND credit < 10
More Related Contents:
- SQL Server: +(unary) operator on non-numeric Strings
- Is it possible to write single query on two table which are not connected to each other?
- T-SQL split string
- Unpivot with column name
- How can I get column names from a table in SQL Server?
- Conditional WHERE clause in SQL Server
- get a comma delimited string from rows [duplicate]
- How can I select the first day of a month in SQL?
- Is the NOLOCK (Sql Server hint) bad practice?
- Multi-statement Table Valued Function vs Inline Table Valued Function
- Convert varchar into datetime in SQL Server
- Select statement to find duplicates on certain fields
- Check if a row exists, otherwise insert
- T-SQL datetime rounded to nearest minute and nearest hours with using functions
- Parse comma-separated string to make IN List of strings in the Where clause
- Compare DATETIME and DATE ignoring time portion
- Count Number of Consecutive Occurrence of values in Table
- Split function in SQL Server 2008
- Script to kill all connections to a database (More than RESTRICTED_USER ROLLBACK)
- Cannot use a CONTAINS or FREETEXT predicate on table or indexed view because it is not full-text indexed
- TransactSQL to run another TransactSQL script
- Store multiple bit values in a single table column
- Which SQL query is faster? Filter on Join criteria or Where clause?
- SQL Server equivalent to MySQL enum data type?
- How to correctly insert newline in nvarchar [duplicate]
- How can I group by date time column without taking time into consideration
- Using IF ELSE statement based on Count to execute different Insert statements
- Cumulative Total in MS Sql server [duplicate]
- COALESCE Function in TSQL
- Try_Convert for SQL Server 2008 R2