![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am trying to code a DTS export package to select records from a table where the significant date field is a CHAR length of 8 variable. The values are like '20051027'. I want to code a SQL statement to select all records for the current (system) date. -- Stan Gosselin |
#3
| |||
| |||
|
|
select * from table where field = convert(char,getdate(),112) http://sqlservercode.blogspot.com/ "Stan" wrote: I am trying to code a DTS export package to select records from a table where the significant date field is a CHAR length of 8 variable. The values are like '20051027'. I want to code a SQL statement to select all records for the current (system) date. -- Stan Gosselin |
![]() |
| Thread Tools | |
| Display Modes | |
| |