Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by henky

  1. henky

    Msg 8114, Level 16, State 8, Line 1 (invalid datetime)

    I gave the wrong error, that one was from A Microsoft site. This is the error message I receive in SQL Server, but the native code does work in Progress. Msg 7321, Level 16, State 2, Line 1 An error occurred while preparing the query "SELECT Store_no, App_date...
  2. henky

    Msg 8114, Level 16, State 8, Line 1 (invalid datetime)

    Hello ESquared, Thanks for your response! I got a table in progress "pub.appointement" which contains the 'wrong' date field "app_date". SBHPRO_GSK2 is my linked server "Progress 9.1E " SELECT TOP 1 * FROM OPENQUERY (SBHPRO_GSK2, 'SELECT Store_no, App_date...
  3. henky

    Msg 8114, Level 16, State 8, Line 1 (invalid datetime)

    Thanks for the replies again! LNBruno, The table I've to access, is a 'production' table, so I cant change the columntype into varchar. SQLDenis, The Openrowset won't work for me :( I am trying to create a public view in progress, which I hope to use in my select statement. The other problem...
  4. henky

    How to create a 'public' view which can be used by ODBC connection?

    Hello, I am trying to import data directly out of Progress 9.1E into SQL Server 2005. For many tables this is no problem, I created a Linked server and am able to connect the tables and can use T-SQL statements to select records out of the tables. SQL Server 2005 has a big F***-up in their...
  5. henky

    Msg 8114, Level 16, State 8, Line 1 (invalid datetime)

    Does anyone else got any idea how to solve this problem? Henky
  6. henky

    Msg 8114, Level 16, State 8, Line 1 (invalid datetime)

    I still got the same error when I was trying the code you mentioned above. I did try that before:
  7. henky

    Msg 8114, Level 16, State 8, Line 1 (invalid datetime)

    Denis, Thanks for your reply. I will store it in a varchar, thats not a problem, but I cant 'read' the record out of the table from linked server. I can use SELECT TOP 1 field1, field2, datefield_with_a_few_invalid_values_for_SQL_Server FROM Table because there is...
  8. henky

    Msg 8114, Level 16, State 8, Line 1 (invalid datetime)

    At first thanks for the replies LNBruno and gmmastros! I am iusing the dateformat in the right way, the problem isn't in the dmy subject. The problem is founded in a application which excepts every date value (AD) which ever was at this world. So there are dates in that database like...
  9. henky

    Msg 8114, Level 16, State 8, Line 1 (invalid datetime)

    Hello, I am currently busy to build a datawarehouse and I am importing data out of a linked server (Progress 9.1E). I am working with SQL Server 2005. I will get an error: Msg 8114, Level 16, State 8, Line 1 Error converting data type DBTYPE_DBTIMESTAMP to datetime. The problem occures when...
  10. henky

    error using the Query Builder

    Here two screenshots of my situation. I just tried the option AtomicWedgie gave me, but it won't work, even whitout the quotes, it won't work. Could the empty field create the troubles, near to the db-logo (cilinder)??
  11. henky

    error using the Query Builder

    Hi, I am not sure if I am doing something wrong or if it is a bug but, I can not seem to parse a SQL querie in the DTS Wizard. I get the following message. "Unexpected Error occured.The provider has returned an Error result without an Error message". The syntax is: select...
  12. henky

    compare fields from a row with another row from the same table

    Thanks for the support I'll give it a try... :)
  13. henky

    insert an auto increment column in a new query

    How can I add an auto increment row in a query? Existing table: Names Name John Jamie Adolf Nelson Tony George Kevin I want to make a select ... into query (to create a new table) SELECT Name INTO NewNames FROM Names ORDER BY Name GO The result has to be ID Name 1| Adolf 2| George 3| Jamie...
  14. henky

    compare fields from a row with another row from the same table

    @vongrunt From sample data it appears that (ref, cust, purch_date) are sorted and unique. Is that always true? ------ Yep. those 3 fields always are unique

Part and Inventory Search

Back
Top