473,396 Members | 1,987 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 2251
DanWeaver (da*********@googlemail.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****@sommarskog.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...@sommarskog.se

Books Online for SQL Server 2005 athttp://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books...
Books Online for SQL Server 2000 athttp://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

Feb 17 '07 #3
DanWeaver (da*********@googlemail.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****@sommarskog.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...@sommarskog.sewrote:
DanWeaver (danofwea...@googlemail.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*********@googlemail.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 misunderstanding 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****@sommarskog.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...@sommarskog.sewrote:
DanWeaver (danofwea...@googlemail.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 misunderstanding 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...@sommarskog.se

Books Online for SQL Server 2005 athttp://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books...
Books Online for SQL Server 2000 athttp://www.microsoft.com/sql/prodinfo/previousversions/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
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...
2
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...
0
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...
2
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,...
0
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...
1
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
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...
1
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
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.