Hello,
I have a program, running in several places, using SQLEXPRESS as database.
The different places are stand-alone, and not connected to a network.
Regulary, I have to apply changes on certain tables of the database.
In a previous program, written in VB6 with an Access database, I used JRO
through VB6-code to delete the table in the different databases and to copy
the new one.
Is something similar possible with SQLEXPRESS. I would like to be able to
update tables in an SQLEXPRESS database file by deleting them and replace
them with the new table. Is this possible through VB.NET code?
Many thanks and greetings from Brugge (Bruges - Belgium),
Michel 2 1343
Michel,
With normal SQL script you can do that, have by instance a look at the drop
command.
Cor
"Michel Vanderbeke" <mi************ ***@skynet.besc hreef in bericht
news:46******** *************** @news.skynet.be ...
Hello,
I have a program, running in several places, using SQLEXPRESS as database.
The different places are stand-alone, and not connected to a network.
Regulary, I have to apply changes on certain tables of the database.
In a previous program, written in VB6 with an Access database, I used JRO
through VB6-code to delete the table in the different databases and to
copy the new one.
Is something similar possible with SQLEXPRESS. I would like to be able to
update tables in an SQLEXPRESS database file by deleting them and replace
them with the new table. Is this possible through VB.NET code?
Many thanks and greetings from Brugge (Bruges - Belgium),
Michel
hello Michel
You can do this with SQL -DMO objects or with DDL-SQL ( wich suits you the
best )
regards
Michel Posseth
"Michel Vanderbeke" <mi************ ***@skynet.besc hreef in bericht
news:46******** *************** @news.skynet.be ...
Hello,
I have a program, running in several places, using SQLEXPRESS as database.
The different places are stand-alone, and not connected to a network.
Regulary, I have to apply changes on certain tables of the database.
In a previous program, written in VB6 with an Access database, I used JRO
through VB6-code to delete the table in the different databases and to
copy the new one.
Is something similar possible with SQLEXPRESS. I would like to be able to
update tables in an SQLEXPRESS database file by deleting them and replace
them with the new table. Is this possible through VB.NET code?
Many thanks and greetings from Brugge (Bruges - Belgium),
Michel
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: andrewcw |
last post by:
I am trying to use the NorthWind database or anything with SQLEXPRESS on VS
2005 RC. I can see SQLExpress started with the tool SQL Server Configuration
Manager. But when i select DataBase | New Connection | Data Source |
Microsoft SQL Server - I see other SQL servers but not SQLExpress. What
should I be doing... Thanks
--
Andrew
|
by: Nedu N |
last post by:
Hi Techies,
I am facing problem in copying content of table from a untyped dataset into
to a table inside the typed dataset. I wanted to copy the data into typed
dataset in order to ease the further processing using typed references.
DataSet ds = getDataFromDB(); - i am getting the dataset ds from a
webservice
I have got MyXSD which decsribes the shcema for the table which i am getting
|
by: Crash |
last post by:
Windows XP
MS SQLExpress
VS 2003
..NET 1.x SP1 {for Application}
..NET 2.0 {for SQLExpress}
MS Enterprise Library June 2005
This works from a command prompt
osql -E -S localhost\SQLEXPRESS
|
by: Matt Fielder |
last post by:
First off, if this is better posted in another group that qualifies as a
manged group, please let me know.
I currently have an application written in VB.Net using MSDE as the
database. Current install is via InstallShield. As I've just found out
that MSDE is not supported under Vista, I need to migrate to SQLExpress. I
am also potentially interested in migrating to using an installer built in
Visual Studio.
I have a few questions:
|
by: koonda |
last post by:
Hi guys,
I am trying to create a web interface in C# using ASP.NET. The database being used is SQL Server. I have some problems loading the tables in the datalist controls. When I run the program the DataList controls are loaded not with tables but something like this: "System.Data.DataRowView" in the three list boxe controls. Because I have three tables and I want to load them in the three list box controls. And then I want to select values...
| |
by: Torben Laursen |
last post by:
Hi
I am trying to find find the sqlserver express that is running on my
computer using:
DataTable dtSQLServers = SmoApplication.EnumAvailableSqlServers(false);
It returns one row that holds the name "Office1" but the sqlserver is:
"Office1\SQLExpress"
If I try to connect to "Office1" I get a very long errormessage while if I
|
by: =?Utf-8?B?bXVzb3NkZXY=?= |
last post by:
Hi,
I wonder if someone could shed some light on this one for me.
I have developed a web app in VS2005 with the built in server. It uses an
sql database, everytihng works.
I need to test it across the network, so i've installed IIS7 on my Vista
machine and created a new website, point at the website's directory. After I
switched to the 'Classic .net' app pool, it shows up on the port.
|
by: troy_lee |
last post by:
What is the best way of copying all the records from a linked table
into a replica table that is local on my computer? This is for
development work at home where I can not access the main table. Is a
macro the best way to handle this?
Thanks in advance.
Troy Lee
|
by: tshad |
last post by:
Running on VS.net 2005,
I am trying to copy rows from my datatable to another datatable in the same
dataset.
The schema would be identical.
I need to make the table name "forms" as I am passing this dataset to
function that expects a dataset with a datatable in it.
|
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,...
|
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...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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,...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |