473,686 Members | 2,318 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

T-SQL in Mngmt Studio Express Doesnt affect change- obvious omission?

I must be doing some daft thing-
In Management Studio Express I have Northwind, Pubs and a db of my
own.
I can create SQL select queries and get results back fine but when I
try to do an insert, update or delete I get the message: (1 row(s)
affected) - making me think all has gone well, however, when I refresh
and look at the relevant table nothing has changed.
Any tips?

ps In learning the basics of SQL server, vs.net, javascript and
vbscript I am often encoutnering a problem that halts me for five
hours or so but has an obvious solution 'if you know how'- I suppose
this is the difference learning on your own vs in an office
environment- "Pete, how do you...?". I am trying to create a
beneficial application under my own steam and with limited resources-
are there any other sources of internet support I might not know about
but could use to get quick answers to sticky techie questions?
D

Feb 16 '07 #1
6 2263
DanWeaver (da*********@go oglemail.com) writes:
I must be doing some daft thing-
In Management Studio Express I have Northwind, Pubs and a db of my
own.
I can create SQL select queries and get results back fine but when I
try to do an insert, update or delete I get the message: (1 row(s)
affected) - making me think all has gone well, however, when I refresh
and look at the relevant table nothing has changed.
Any tips?
Since you say "refresh" I assume that you mean Open Table or the Query
Designer. These are just tools of dubious quality. Better to run a SELECT
statement from a query window.

--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Feb 16 '07 #2
Yes, I was using MS SQL Server Management Studio Express. I cannot
believe it! When someone is trying to learn the basics and the table
refresh (or even db refresh as I just tried) doesnt work properly-
this is rubbish!
Thanks very much Erland- I tried a select statement (which didnt occur
to me a couple of nights ago when despairing at my incompetance !! !-)
and all of my statements were working fine.
Well, another 5 hours wasted on systems saying one thing and doing
another- search phrase REFRESH DOESN'T WORK.

Thanks again,
Dan
Since you say "refresh" I assume that you mean Open Table or the Query
Designer. These are just tools of dubious quality. Better to run a SELECT
statement from a query window.

--
Erland Sommarskog, SQL Server MVP, esq...@sommarsk og.se

Books Online for SQL Server 2005 athttp://www.microsoft.c om/technet/prodtechnol/sql/2005/downloads/books...
Books Online for SQL Server 2000 athttp://www.microsoft.c om/sql/prodinfo/previousversion s/books.mspx

Feb 17 '07 #3
DanWeaver (da*********@go oglemail.com) writes:
Yes, I was using MS SQL Server Management Studio Express. I cannot
believe it! When someone is trying to learn the basics and the table
refresh (or even db refresh as I just tried) doesnt work properly-
this is rubbish!
I'm curious. I tried Open Table, but I could not find any Refresh
operation. Where exactly did you select Refresh?

--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Feb 17 '07 #4
On Feb 17, 3:06 pm, Erland Sommarskog <esq...@sommars kog.sewrote:
DanWeaver (danofwea...@go oglemail.com) writes:
Yes, I was using MS SQL Server Management Studio Express. I cannot
believe it! When someone is trying to learn the basics and the table
refresh (or even db refresh as I just tried) doesnt work properly-
this is rubbish!

I'm curious. I tried Open Table, but I could not find any Refresh
operation. Where exactly did you select Refresh?
In SQL Server Mngmt Express- Object explorer- right click on Databases
or any DB or any table.
D

Feb 18 '07 #5
DanWeaver (da*********@go oglemail.com) writes:
In SQL Server Mngmt Express- Object explorer- right click on Databases
or any DB or any table.
I suspected that. I'm afraid that's a misunderstandin g on your part.
Refresh there only freshes the list of tables or objects that is
displayed in the Object Explorer. (Keep in mind that a table has dependent
object, such as indexes, constraints etc.) It does not affect what you may
see in other windows.

The way to update the grid in Open Table is simply to press the Exclamation
mark which reruns the query that loaded the grid. (And which you can see
by right-clicking and select SQL under the Pane submenu.)
--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Feb 18 '07 #6
On Feb 18, 5:37 am, Erland Sommarskog <esq...@sommars kog.sewrote:
DanWeaver (danofwea...@go oglemail.com) writes:
In SQL Server Mngmt Express- Object explorer- right click on Databases
or any DB or any table.

I suspected that. I'm afraid that's a misunderstandin g on your part.
Refresh there only freshes the list of tables or objects that is
displayed in the Object Explorer. (Keep in mind that a table has dependent
object, such as indexes, constraints etc.) It does not affect what you may
see in other windows.

The way to update the grid in Open Table is simply to press the Exclamation
mark which reruns the query that loaded the grid. (And which you can see
by right-clicking and select SQL under the Pane submenu.)

--
Erland Sommarskog, SQL Server MVP, esq...@sommarsk og.se

Books Online for SQL Server 2005 athttp://www.microsoft.c om/technet/prodtechnol/sql/2005/downloads/books...
Books Online for SQL Server 2000 athttp://www.microsoft.c om/sql/prodinfo/previousversion s/books.mspx

You're a star, Erland.
Dan

Feb 19 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
387
by: Bootstrap Bill | last post by:
A new Google group has been formed for the purpose of discussing the new Visual Studio Express products. http://groups-beta.google.com/group/Visual-Studio-Express The products are currently in beta testing and include Visual Basic 2005 Express, Visual C# 2005 Express, Visual C++ 2005 Express, Visual C++ 2005 Express, Visual J# 2005 Express, Visual Web Dev 2005 Express and SQL Server 2005 Express.
2
1238
by: R.H. | last post by:
I only have a dialup connection and I was wondering if someone knows where I can buy the CD or DVD with the new Visual Studio Express versions. I would download them, but it would take weeks at dialup speed to download them all. Z.K.
0
2116
by: Lyle Fairfield | last post by:
SQL Server Management Studio Express CTP is a freely downloadable utility (http://www.microsoft.com/downloads/details.aspx?familyid=82afbd59-57a4- 455e-a2d6-1d4c98d40f6e&displaylang=en) something like but not as extensive as MS-SQL Enterprise Manager. Im am posting about this because: I have not seen its use mentioned a lot here. Some capabilities of Access 2003 (and prior) ADP MS-SQL interfaces fail for SQL Studio Express; other...
2
1798
by: GetTheMonkey | last post by:
After a fresh install I cannot create a new project. I also installed XNA Game Studio Express (beta) right after installing C#. The following error message appears: The filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B) Any help would be appreciated.
0
1151
by: olrt | last post by:
Hello, I installed 4 monthes ago Visual C# Express,VB.NET Express and Web Developer Express. I followed the classic install from the Internet installation procedure. I would like to know if there are Visual Studio Express updates and if it is possible to install them from the Internet and how ? (I know there's an option in the Visual Studio Help Menu to obtain updates, but it launches my firefox browser and opens the Windows
1
1271
by: olrt | last post by:
Hello, is the .NET Framework SDK installed along with Visual Studio Express ? If no, can I install .NET Framework SDK after Visual Studio Express installation ? Thanks. Olivier.
2
1422
by: benfries | last post by:
Hi, Since I while have to use CAB (Composite UI Application Block) framework at work very soon, I thought to try it at home first. Since I usually use Java or Python as my languages of choice at home, I don't any .Net Version of Visual Studio. Thus I thought that for my own usuage Visual Studio Express C# should be sufficient. Nevertheless I wonder if I can use it with CAB? On the CAB download site they require "Microsoft Visual Studio 2005,...
1
2170
by: sundarvenkata | last post by:
Is multi-targeting possible using Visual Studio Express? If not, do I have any other options to target a 1.1 framework using Visual Studio Express? Thanks for your help, Sundar
2
6330
by: John Fox | last post by:
Hi there, We have recently deployed a couple of new SQL 2005 x64 servers in our hosting environment. We have previously used SQL 2000. I need to start rolling out the new client tools so our developers can start working on them. I tried to copy the sql tools msi off the installation CD and install it on the developers machine but it will not install on them as the workstations are 32bit and the server is x64.
0
8585
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
8517
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9057
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8770
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8780
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4309
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4534
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2947
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
1940
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.