Click here to Skip to main content
15,913,941 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionRun Application in Administrator mode Pin
pdnet24-Mar-09 4:06
pdnet24-Mar-09 4:06 
QuestionRun Application in Administrator mode Pin
pdnet24-Mar-09 4:05
pdnet24-Mar-09 4:05 
QuestionRun Application in Administrator mode Pin
pdnet24-Mar-09 4:04
pdnet24-Mar-09 4:04 
AnswerRe: Run Application in Administrator mode Pin
EliottA24-Mar-09 4:08
EliottA24-Mar-09 4:08 
AnswerRe: Run Application in Administrator mode Pin
dan!sh 24-Mar-09 4:13
professional dan!sh 24-Mar-09 4:13 
GeneralRe: Run Application in Administrator mode Pin
Jon_Boy24-Mar-09 4:25
Jon_Boy24-Mar-09 4:25 
GeneralRe: Run Application in Administrator mode Pin
dan!sh 24-Mar-09 4:29
professional dan!sh 24-Mar-09 4:29 
GeneralRe: Run Application in Administrator mode Pin
Eddy Vluggen24-Mar-09 4:48
professionalEddy Vluggen24-Mar-09 4:48 
GeneralRe: Run Application in Administrator mode Pin
dan!sh 24-Mar-09 4:52
professional dan!sh 24-Mar-09 4:52 
GeneralRe: Run Application in Administrator mode Pin
Jon_Boy24-Mar-09 6:18
Jon_Boy24-Mar-09 6:18 
QuestionSQL query is not making permanent changes in database. Pin
Gagan.2024-Mar-09 3:11
Gagan.2024-Mar-09 3:11 
AnswerRe: SQL query is not making permanent changes in database. Pin
dan!sh 24-Mar-09 3:15
professional dan!sh 24-Mar-09 3:15 
GeneralRe: SQL query is not making permanent changes in database. Pin
Gagan.2024-Mar-09 3:22
Gagan.2024-Mar-09 3:22 
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 

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.