Click here to Skip to main content
15,891,184 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: SQL query is not making permanent changes in database. Pin
dan!sh 24-Mar-09 3:37
professional dan!sh 24-Mar-09 3:37 
GeneralRe: SQL query is not making permanent changes in database. Pin
Gagan.2024-Mar-09 3:42
Gagan.2024-Mar-09 3:42 
GeneralRe: SQL query is not making permanent changes in database. Pin
Jon_Boy24-Mar-09 3:50
Jon_Boy24-Mar-09 3:50 
GeneralRe: SQL query is not making permanent changes in database. Pin
Gagan.2024-Mar-09 3:57
Gagan.2024-Mar-09 3:57 
GeneralRe: SQL query is not making permanent changes in database. Pin
dan!sh 24-Mar-09 4:18
professional dan!sh 24-Mar-09 4:18 
GeneralRe: SQL query is not making permanent changes in database. Pin
Jon_Boy24-Mar-09 4:33
Jon_Boy24-Mar-09 4:33 
GeneralRe: SQL query is not making permanent changes in database. Pin
dan!sh 24-Mar-09 4:47
professional dan!sh 24-Mar-09 4:47 
GeneralRe: SQL query is not making permanent changes in database. Pin
Jon_Boy24-Mar-09 4:30
Jon_Boy24-Mar-09 4:30 
No problem Gagan,

Start Menu -> Progs -> MS SQL Server 2005 -> Performance Tools -> Profiler.

Quick and dirty usage (later, you really should learn the ins and outs of this tool - it's worth its weight x 100).
Start it up. Select the server that this query should be going to. Select the default trace.

A trace will start running reporting everything on the DB. If there are multiple devs/users using the server, then a crap load of events will be displayed rapidly.

Pause the trace (button on the toolbar ||). Put a breakpoint in VB where your CMD is about to execute. Go back to profiler, press Start |> Execute your SQL command and then repause Profiler. All the lines you see are the raw statements being sent to SQL server. Look for your update statement and copy that out to a query window. If nothing is there, prob. a connection issue of some kind.

Once you get used to profiler you can create specific traces by DB, users, events, etc.


Hope this helps ya out bud.

Any suggestions, ideas, or 'constructive criticism' are always welcome.

"There's no such thing as a stupid question, only stupid people." - Mr. Garrison

GeneralRe: SQL query is not making permanent changes in database. Pin
Jon_Boy24-Mar-09 6:04
Jon_Boy24-Mar-09 6:04 
AnswerTransactions ? Pin
David Mujica24-Mar-09 3:18
David Mujica24-Mar-09 3:18 
QuestionText File to Dataset Pin
vijay248224-Mar-09 3:06
vijay248224-Mar-09 3:06 
AnswerRe: Text File to Dataset Pin
dan!sh 24-Mar-09 3:09
professional dan!sh 24-Mar-09 3:09 
GeneralMessage Closed Pin
24-Mar-09 3:49
vijay248224-Mar-09 3:49 
GeneralRe: Text File to Dataset Pin
dan!sh 24-Mar-09 4:16
professional dan!sh 24-Mar-09 4:16 
QuestionReporting and external images Pin
Stephen Lintott24-Mar-09 1:39
Stephen Lintott24-Mar-09 1:39 
QuestionText File using VB.Net Pin
vijay248224-Mar-09 1:00
vijay248224-Mar-09 1:00 
AnswerRe: Text File using VB.Net Pin
Jon_Boy24-Mar-09 1:27
Jon_Boy24-Mar-09 1:27 
QuestionHow OOPs is better than Procedural Pin
sunil goyalG23-Mar-09 22:52
sunil goyalG23-Mar-09 22:52 
AnswerRe: How OOPs is better than Procedural Pin
Eddy Vluggen23-Mar-09 23:25
professionalEddy Vluggen23-Mar-09 23:25 
AnswerRe: How OOPs is better than Procedural Pin
Jon_Boy24-Mar-09 1:18
Jon_Boy24-Mar-09 1:18 
AnswerRe: How OOPs is better than Procedural Pin
EliottA24-Mar-09 4:20
EliottA24-Mar-09 4:20 
GeneralRe: How OOPs is better than Procedural Pin
Jon_Boy24-Mar-09 8:22
Jon_Boy24-Mar-09 8:22 
GeneralRe: How OOPs is better than Procedural Pin
EliottA24-Mar-09 8:27
EliottA24-Mar-09 8:27 
GeneralRe: How OOPs is better than Procedural Pin
Jon_Boy24-Mar-09 9:10
Jon_Boy24-Mar-09 9:10 
Questionunable to find a verison of the run time to run this application, IN VB.NET Pin
krishnaveer23-Mar-09 19:59
krishnaveer23-Mar-09 19:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.