473,385 Members | 1,523 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,385 software developers and data experts.

Create Stored Procedure and modify table property in VB.Net & SQL

1. How do i create a stored procedure in VB.Net and then execute it in VB.Net?
2. How do I modify a table property in VB.Net?
Sep 17 '07 #1
4 5143
1. How do i create a stored procedure in VB.Net and then execute it in VB.Net?

You have to use Sql to create a stored procedure, generally through a
tool such as Query Analyzer or the Management Studio (for Sql Server
at least). To execute it you will need to use ADO.NET, the best place
for you to learn about how to use ADO.NET is to do some searching on
google for some tutorials.
2. How do I modify a table property in VB.Net?
Again you'll probably want to use a tool such as Sql Server Management
Studio to do the modifications. You can however use with direct Sql
statements passed via ADO.NET through visual basic code, but the GUI
environment of the management studio would (imo) be much easier.

Thanks,

Seth Rowe
Sep 17 '07 #2
Seth,
Thanks for suggestions.
I am looking for VB.Net sample code.

"rowe_newsgroups" wrote:
1. How do i create a stored procedure in VB.Net and then execute it in VB.Net?

You have to use Sql to create a stored procedure, generally through a
tool such as Query Analyzer or the Management Studio (for Sql Server
at least). To execute it you will need to use ADO.NET, the best place
for you to learn about how to use ADO.NET is to do some searching on
google for some tutorials.
2. How do I modify a table property in VB.Net?

Again you'll probably want to use a tool such as Sql Server Management
Studio to do the modifications. You can however use with direct Sql
statements passed via ADO.NET through visual basic code, but the GUI
environment of the management studio would (imo) be much easier.

Thanks,

Seth Rowe
Sep 17 '07 #3
On Sep 17, 11:50 am, Ryan <R...@discussions.microsoft.comwrote:
Seth,
Thanks for suggestions.
I am looking for VB.Net sample code.

"rowe_newsgroups" wrote:
1. How do i create a stored procedure in VB.Net and then execute it in VB.Net?
You have to use Sql to create a stored procedure, generally through a
tool such as Query Analyzer or the Management Studio (for Sql Server
at least). To execute it you will need to use ADO.NET, the best place
for you to learn about how to use ADO.NET is to do some searching on
google for some tutorials.
2. How do I modify a table property in VB.Net?
Again you'll probably want to use a tool such as Sql Server Management
Studio to do the modifications. You can however use with direct Sql
statements passed via ADO.NET through visual basic code, but the GUI
environment of the management studio would (imo) be much easier.
Thanks,
Seth Rowe
All will require using Sql statements sent using ADO.NET, if you
search google like I suggested you should be able to find whatever you
need.

Thanks,

Seth Rowe

Sep 17 '07 #4
Ryan,

I thought that this was depending the version, however in VS version 2005,
(I thought that this was not in the express version).

Open your server explorer
Make a connection to the datatable
Open Programmability
Open in that by right clicking Stored Procedures, then you get a template
what shows the most used stored procedure structure in VB.Net

Cor

"Ryan" <Ry**@discussions.microsoft.comschreef in bericht
news:FD**********************************@microsof t.com...
1. How do i create a stored procedure in VB.Net and then execute it in
VB.Net?
2. How do I modify a table property in VB.Net?
Sep 18 '07 #5

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

Similar topics

3
by: Ryan.Chowdhury | last post by:
This is a general question regarding the use of view and stored procedures. I'm fairly new to databases and SQL. I've created a SQL database using an Access Data Project ("ADP") and I'm...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
2
by: Eli | last post by:
Hi all We currently have a strange problem with calling a Stored Procedure (SQL Database) in our C# Project. The only error I get is "System error" which says a lot :) Background: We have...
9
by: Peter | last post by:
Hello£¬everyone, My program will collect a testing machine's data ,save the data and deal with the data everyday. I want to use vb.net to create database, add and delete tables or modify the...
10
by: Eric E | last post by:
Hi all, I am using an Access client linked to a PG 7.4 server via ODBC. I have a stored proc on the server that inserts rows into a table.particular table, accomplished via an INSERT within the...
2
by: Neil | last post by:
I created a stored procedure to update a table on a linked server from a table in my local server. Both servers are SQL 7, and the linked server is accessed through the Internet. When I tried to...
1
by: Alan T | last post by:
Is there a sample code I can use to call a stored procedure which has input and output paramerts ?
6
by: Peter Nurse | last post by:
For reasons that are not relevant (though I explain them below *), I want, for all my users whatever privelige level, an SP which creates and inserts into a temporary table and then another SP...
11
by: raylopez99 | last post by:
Keep in mind this is my first compiled SQL program Stored Procedure (SP), copied from a book by Frasier Visual C++.NET in Visual Studio 2005 (Chap12). So far, so theory, except for one bug...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.