Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting result from the output window
Message
From
10/03/2011 11:23:19
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01503170
Message ID:
01503186
Views:
26
This works. However, I have found something which I cannot understand.

In SSMS, if I execute that script, I see all the messages in the Messages tab. When I execute it from my application, I get all the messages except the number of updates. For example, in SSMS, I get this:

-------------------------
Removing index NoCountry...
DROP INDEX [NoCountry] ON [Server]
Adding Server.NoCountry-Temporary...
Updating Server.NoCountry-Temporary...

(6 row(s) affected)
Droping column Server.NoCountry...
Renaming column Server.NoCountry-Temporary...
Caution: Changing any part of an object name could break scripts and stored procedures.
Creating index Server.NoCountry...
Updating field record for Server.NoCountry...

(1 row(s) affected)
Updating Admin table...

(1 row(s) affected)
-------------------------

In my application, I get this:

-------------------------
Removing index NoCountry...
DROP INDEX [NoCountry] ON [Server]
Adding Server.NoCountry-Temporary...
Updating Server.NoCountry-Temporary...
Droping column Server.NoCountry...
Renaming column Server.NoCountry-Temporary...
Caution: Changing any part of an object name could break scripts and stored procedures.
Creating index Server.NoCountry...
Updating field record for Server.NoCountry...
Updating Admin table...
-------------------------

I do get however the Caution lines. Could this be a bug in that option?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform