ciao, ho un problema, sto cercando di importare un campo smalldatetime, in un campo datetime.

mi viene errore, anche se cambio il formato della data...

se uso cioe' 09-23-2006 oppure 23-09-2006 oppure 2006-09-23-mi da' sempre errore...

come posso fare?

questa come potete vedere sotto, e' l'istruzione che uso :

convert(smalldatetime,'09-23-2006',110)


codice:
INSERT INTO news (recn, datam, on_line, id_scat, news_breve, news_meta_description, titolo, img_s_path, img_b_path, img_big_link, img_b2_path, img_b3_path, importata_automaticamente, importata_automaticamente_data) VALUES (284, convert(smalldatetime,'09-23-2006',110), '1', 39, '', 'Tissot Orologi Official Timekeeper of Nascar. Tissot sigla una partnership con l`Associazione Nazionale di Corse.', 'Tissot Orologi Official Timekeeper of Nascar', '/storeimgs/T90_4_496_82_small.jpg', '', '', '/storeimgs/149586ss_sm2_small.jpg', '/storeimgs/fam_PRS516_NASCAR_small.jpg', 'yes', '19/11/2010 15.26.18') 
Microsoft OLE DB Provider for ODBC Drivers error '80040e07' 

[Microsoft][ODBC SQL Server Driver][SQL Server]The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. 

/IMPORTAZIONE/importa_news.asp, line 249

Inoltre, se invece non utilizzo l'istruzione INSERT INTO, ma apro un recordset in ASP e inserisco, dopo un po' di item mi viene fuori un errore differente e cioe' :

codice:
Microsoft Cursor Engine error '80004005' 
Data provider or other service returned an E_FAIL status.
In questo caso la data che metto e' nel formato :
codice:
2006-09-22 00:00:00