Hi,

try

SELECT @@ERROR as errorcode

bye,

Adam Alkins schrieb:
>>Hi all!
>>
>>This is not a typical DB-Question, but I hope you give me some hints
>>either...
>>
>>If I insert a String instead of a date(f.Ex) into the DB, I get a
>>Warning:
>>
>>MS SQL message: Syntax error converting datetime from character
>>string. (severity 16) 
>>
>>How can I catch these warnings in PHP?
> 
> 
> I believe mssql_get_last_message() is what you want.
> 
> --------------
> Adam Alkins
> http://www.rasadam.com
> --------------
> 
> 
> 
> 


-- 
--------------------------------------
Michael Bretterklieber
LCP
JAWA Management Software GmbH
Liebenauer Hauptstr. 200
A-8041 GRAZ
Tel: ++43-(0)316-403274-12
Fax: ++43-(0)316-403274-10
GSM: ++43-(0)676-93 96 698
[EMAIL PROTECTED]
homepage: http://www.jawa.at
--------- privat -----------
E-mail:   [EMAIL PROTECTED]
homepage: http://www.inode.at/mbretter
--------------------------------------
"...the number of UNIX installations has grown to 10, with more expected..."
           - Dennis Ritchie and Ken Thompson, June 1972


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to