Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 SELECT statement

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-04-06 : 09:39:13
Tantan writes "Why does my SELECT statement in an ASP page fails to return any record but it works when i use it on the query analyzer.

And another thing when i try to use DNS, it produces this kind of error :

[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'TANTAN\IUSR_TANTAN'.

But when i use this:
Driver={SQL Server}; Server=server_name; Database=database_name; UID=sa; PWD=password

it works but it doesn't return any records!

hope you can help me

thanks in advance!"
   

- Advertisement -