May 4, 2007 #1 sonny1974 Technical User Feb 25, 2007 161 US INDV_PREG"."EXPCT_DUE_DT">={ts '2007-05-04 00:00:00'} i want to change it so i dont have to change it everday. is there a functions like today or something so i can do a a filter on it
INDV_PREG"."EXPCT_DUE_DT">={ts '2007-05-04 00:00:00'} i want to change it so i dont have to change it everday. is there a functions like today or something so i can do a a filter on it
May 4, 2007 #2 mrdenny Programmer May 27, 2002 11,595 What database platform is this for (SQL Server, Oracle, MySQL, etc)? Denny MCSA (2003) / MCDBA (SQL 2000) MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration) MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005) --Anything is possible. All it takes is a little research. (Me) http://www.mrdenny.com Upvote 0 Downvote
What database platform is this for (SQL Server, Oracle, MySQL, etc)? Denny MCSA (2003) / MCDBA (SQL 2000) MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration) MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005) --Anything is possible. All it takes is a little research. (Me) http://www.mrdenny.com
May 4, 2007 Thread starter #3 sonny1974 Technical User Feb 25, 2007 161 US sorry sql server is it GetDate()? Upvote 0 Downvote
May 4, 2007 #4 mrdenny Programmer May 27, 2002 11,595 Yes it is. (I asked because the format of the WHERE clause that you posted looks awfly like Oracle.) Denny MCSA (2003) / MCDBA (SQL 2000) MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration) MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005) --Anything is possible. All it takes is a little research. (Me) http://www.mrdenny.com Upvote 0 Downvote
Yes it is. (I asked because the format of the WHERE clause that you posted looks awfly like Oracle.) Denny MCSA (2003) / MCDBA (SQL 2000) MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration) MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005) --Anything is possible. All it takes is a little research. (Me) http://www.mrdenny.com