/t5/dreamweaver-discussions/debug-sql-statement/m-p/879092#M90986Jun 25, 2008
Jun 25, 2008
Copy link to clipboard
Copied
I use query analyzer is the problem is only with the sql
statement
> Hi,
>
> Can anyone tell me how I can debug a sql statement.
> Ideally the execute.cmd would not run but rather output
to the screen.
>
> Thanks folks.
>
> XP, Dreamweaver CS3, ASP VBScript.
/t5/dreamweaver-discussions/debug-sql-statement/m-p/879093#M90989Jun 26, 2008
Jun 26, 2008
Copy link to clipboard
Copied
I should have said
I use query analyzer IF the problem is only with the sql
statement.
Philo wrote:
> I use query analyzer is the problem is only with the sql
statement
>
>
>
> > Hi,
> >
> > Can anyone tell me how I can debug a sql statement.
> > Ideally the execute.cmd would not run but rather
output to the
> > screen.
> >
> > Thanks folks.
> >
> > XP, Dreamweaver CS3, ASP VBScript.
/t5/dreamweaver-discussions/debug-sql-statement/m-p/879094#M90990Jun 26, 2008
Jun 26, 2008
Copy link to clipboard
Copied
LATEST
Comment out the
Set rsName = rsName_cmd.Execute
line the try this on your page
<%=rsName_cmd.CommandText%>
Change rsName to the name of your rs
That should write the SQL to your page.