Adobe Dreamweaver Forums



Last 10 THreads :         Problem fetching policy-file-request (Last Post : greenx - Replies : 0 - Views : 1 )           »          Coldfusion Login (Last Post : ProjectedSurplus - Replies : 0 - Views : 1 )           »          FTP Error Occurred - Cannot make connection (Last Post : ostephy - Replies : 2 - Views : 3 )           »          Opening a flash movie in dreamweaver (Last Post : Nancy O - Replies : 1 - Views : 3 )           »          Re: Unable to authenticate installer (Last Post : D Sparks - Replies : 1 - Views : 2 )           »          Microphone in the latest beta (Last Post : 0x656b694d - Replies : 0 - Views : 1 )           »          Please help me (Last Post : HalfNelson - Replies : 0 - Views : 1 )           »          Re: Fireworks screws up colors from photoshop (Last Post : chirp88 - Replies : 5 - Views : 6 )           »          CFdirectory recurse error (Last Post : Adam Cameron - Replies : 1 - Views : 2 )           »          Coldfusion Login (Last Post : ProjectedSurplus - Replies : 0 - Views : 1 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Dreamweaver: Main > Dreamweaver Application Development
 
Tags: , ,

Reply
  #1 (permalink)  
Old 06-25-2008, 06:43 PM
Dave
 
Posts: n/a
Diggs:
Default Debug 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.
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-25-2008, 06:43 PM
Philo
 
Posts: n/a
Diggs:
Default Re: Debug SQL Statement

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.




--

Reply With Quote
  #3 (permalink)  
Old 06-26-2008, 10:42 AM
Philo
 
Posts: n/a
Diggs:
Default Re: Debug SQL Statement

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.




--

Reply With Quote
  #4 (permalink)  
Old 06-27-2008, 05:26 AM
MikeL7
 
Posts: n/a
Diggs:
Default Re: Debug SQL Statement

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.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 10:32 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk