Jump to content
Fórum Script Brasil
  • 0

(Resolvido) Conexao com SQL Server 2005


rodrigo_fabiam
 Share

Question

4 answers to this question

Recommended Posts

  • 0

Segue um exemplo que uso

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>

<%

Conn = "Provider=SQLNCLI;Server=bsxx.webservidor.net,3025;Database=banco_db;UID=usuario;PWD=senha;"

%>

<%

sql= "SELECT * FROM tblcidades order by Cidade"

set consulta = Conn.execute(sql)

%>

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



  • Forum Statistics

    • Total Topics
      150.9k
    • Total Posts
      648.8k
×
×
  • Create New...