Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Iron Speed
Go Back   ASP Free ForumsDatabaseMicrosoft SQL Server

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old September 14th, 2006, 12:43 PM
fletchsod fletchsod is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Location: Jacksonville, Florida
Posts: 344 fletchsod User rank is Corporal (100 - 500 Reputation Level)fletchsod User rank is Corporal (100 - 500 Reputation Level)fletchsod User rank is Corporal (100 - 500 Reputation Level)fletchsod User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 20 h 23 m 15 sec
Reputation Power: 8
Store Procedure - How to save the update in SQL 2005 Express??

Hi! I'm using the SQL 2005 Express to connect to the SQL Server 2000. There I found a stored-procedure of what I'm looking for, use the "MODIFY" command via right-mouse click, made some update to it and save it. But it save the SQL file to a "My Document" folder. It doesn't update the SQL Server 2000's stored-procedure file.

So, how do I update it from the SQL Server 2000?

Thanks...

Reply With Quote
  #2  
Old September 14th, 2006, 12:49 PM
asmoran asmoran is offline
ASPFree Know-It-All
ASP Free Novice (500 - 999 posts)
 
Join Date: Aug 2004
Posts: 930 asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level)asmoran User rank is Major (30000 - 40000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 15 h 13 m 20 sec
Reputation Power: 324
When you click "modify" it will write the ALTER PROCEDURE statement for you. Once you've made the changes to the current sql code, all you need to do is execute it.

Reply With Quote
  #3  
Old September 14th, 2006, 12:52 PM
chapman10s's Avatar
chapman10s chapman10s is offline
**Wanted Wizard**
ASP Free God (5000 - 5499 posts)
 
Join Date: Apr 2006
Location: Who knows...
Posts: 5,379 chapman10s User rank is General 4th Grade (Above 100000 Reputation Level)chapman10s User rank is General 4th Grade (Above 100000 Reputation Level)chapman10s User rank is General 4th Grade (Above 100000 Reputation Level)chapman10s User rank is General 4th Grade (Above 100000 Reputation Level)chapman10s User rank is General 4th Grade (Above 100000 Reputation Level)chapman10s User rank is General 4th Grade (Above 100000 Reputation Level)chapman10s User rank is General 4th Grade (Above 100000 Reputation Level)chapman10s User rank is General 4th Grade (Above 100000 Reputation Level)chapman10s User rank is General 4th Grade (Above 100000 Reputation Level)chapman10s User rank is General 4th Grade (Above 100000 Reputation Level)chapman10s User rank is General 4th Grade (Above 100000 Reputation Level)chapman10s User rank is General 4th Grade (Above 100000 Reputation Level)chapman10s User rank is General 4th Grade (Above 100000 Reputation Level)chapman10s User rank is General 4th Grade (Above 100000 Reputation Level)chapman10s User rank is General 4th Grade (Above 100000 Reputation Level)chapman10s User rank is General 4th Grade (Above 100000 Reputation Level)  Folding Points: 12139 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 4 Days 4 h 42 m 10 sec
Reputation Power: 1209
Send a message via AIM to chapman10s Send a message via MSN to chapman10s
Quote:
Originally Posted by fletchsod
Hi! I'm using the SQL 2005 Express to connect to the SQL Server 2000. There I found a stored-procedure of what I'm looking for, use the "MODIFY" command via right-mouse click, made some update to it and save it. But it save the SQL file to a "My Document" folder. It doesn't update the SQL Server 2000's stored-procedure file.

So, how do I update it from the SQL Server 2000?

Thanks...


Have you made sure that the ASPNet user account has write permissions to the database file? By default it probably only has read/execute. WIthout write permissions it can't update the database file.

Reply With Quote
  #4  
Old May 8th, 2008, 03:51 PM
fletchsod fletchsod is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Location: Jacksonville, Florida
Posts: 344 fletchsod User rank is Corporal (100 - 500 Reputation Level)fletchsod User rank is Corporal (100 - 500 Reputation Level)fletchsod User rank is Corporal (100 - 500 Reputation Level)fletchsod User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 20 h 23 m 15 sec
Reputation Power: 8
Sorry for bumping old thread! The Edit button is not available, so I can't update it at all. Neither is the closed button. It is way past due to closed this old thread. By updating this forum, it is my best interest to help other newbies out there who may be in this situation.

The "save it" method for saving the updated stored-procedure script can't be done with the whatever save button in MS-SQL 2005. I only need to click the "Execute" button to save the altered stored-procedure. I didn't know how to use SQL 2005 Management Studio back then so I didn't know what to look for back then (2 years ago).

Reply With Quote
Closed Thread

Viewing: ASP Free ForumsDatabaseMicrosoft SQL Server > Store Procedure - How to save the update in SQL 2005 Express??


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway