|
I think you should be looking for DiffGrams in DataSets.
Live Life King Size
Alomgir Miah
|
|
|
|
|
Hi,
I need to know if you are able to access an Access database across networks? I have my ASP code at one hosting company in the states, and the Access database is at another hosting company in South Africa. They are not on the same networks.
A colloeague of mine says this is not possible because Access is a file driven database.
Any help will be appreciated!!
Thanks.
|
|
|
|
|
Brendan Vogt wrote:
I need to know if you are able to access an Access database across networks?
??? what do i hear ? Access DataBase ?
what a good joke !!
no, seriously, access, is not a database as SQL server, Oracle, mySQL, are...
consider seriously revising your need of using such software...
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
You might be able to use a UNC file path to the database (this works on a local lan, provided the user has access to the directory). It will be slow however, and is not likely to prove satisfactory (performance wise), if it works at all.
Absolute faith corrupts as absolutely as absolute power
Eric Hoffer
All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke
|
|
|
|
|
In vs.net 2005, I want to connect with MySQL database.
After trying some hours, I found there is many questions:
1 Add reference error.
Which dll should be add into project?
2 Connect String error.
Which provider in OLEDB could be used?
3 User name and password and datasource.
Thanks!
|
|
|
|
|
OLE DB Provider for mySQL
oConn.Open "Provider=MySQLProv;" & _
"Data Source=mySQLDB;" & _
"User Id=myUsername;" & _
"Password=myPassword"
|
|
|
|
|
I use the provider "MySQLProv",but the .net 2005 beta2 said "the provider is not registered on the local machine.
|
|
|
|
|
|
Hi fellows
I've a problem with SQL Server 2000. When I enter in the Enterprise manager, I receive the following message:
"Failure on snap-in initilization
Name: <unknown>
CLSID:{0001000100-1816-11D0-8EF5-00AA0062C58F}"
Some can help me?
Regards
|
|
|
|
|
hi
i m new to the ADO i want to know that is ADO had the ability to read and write athe dbase IV database using visualc++.
ddd
|
|
|
|
|
Hey,
I am trying to teach myself SQL and have come up with a small problem. How does one use SQL to list the names of all the tables in a database? Up until now I have done it using Carlos Antollini's CADOXCatalog class[^] but I want to do it in SQL from Query Analyzer.
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04
"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05
Within you lies the power for good - Use it!
|
|
|
|
|
try:
select Name, Type from sysobjects where Type = N'U' or Type = N'S'
Type 'U' is a user table , type 'S' is a system table
Absolute faith corrupts as absolutely as absolute power
Eric Hoffer
All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke
|
|
|
|
|
Thanks Rob, works like a charm
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04
"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05
Within you lies the power for good - Use it!
|
|
|
|
|
SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE'
|
|
|
|
|
Thanks, works great.
Not only does it work, but when I looked this method up in my SQL book it says that this is the prefered way to do this. Better to use a system view than to access system tables directly.
Now I know how to do this (and other things) with SQL Server, it would be nice to have a way that works with other Database systems (MySQL and Access in particular. None of the three methods listed here work with those two systems
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04
"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05
Within you lies the power for good - Use it!
|
|
|
|
|
To do this prgramatically (not query analyzer) Use the GetOledbSchemaTable[^] method of the OledbConnection object (or ADO connection.OpenSchema()[^]if not using .NET).
Absolute faith corrupts as absolutely as absolute power
Eric Hoffer
All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke
|
|
|
|
|
|
Thanks for the link
It seems INFORMATION_SCHEMA is new in version 5. I have version 4 here. Explains why I could not get it to work
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
"Obviously ??? You're definitely a superstar!!!" - mYkel - 21 Jun '04
"There's not enough blatant self-congratulatory backslapping in the world today..." - HumblePie - 21 Jun '05
Within you lies the power for good - Use it!
|
|
|
|
|
it depends actually on which database you try to get the table names.
the answer you got seem to be for MS SQL Server, but it would have worked on Oracle DB.
you should type instead :
select table_name, table_type
from user_tables
order by table_type asc, table_name asc;
cheers,
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
how to insert data directly into ms sql server 2000 database by using asp.net with vb.net and how to update data.
|
|
|
|
|
search for ADO.NET for the access classes.
to insert, use the insert SQL command :
insert into table
list_of_columns_to_insert
values(list_of_values);
to update, use the update SQL command :
update table
setcolumn1 = value1,
column2 = value2
where condition;
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
This is C# which you can easily convert.
###########################################
string myType = "Type"; ' varchar on SQL Server
string myPropID = "12"; ' Int on SQL Server
string SQLstring = "UPDATE tblZtest SET PropertyType = '" + myType + "' " +
" WHERE zTest = " + myPropID
SqlConnection myConnection = new SqlConnection(ConnectionString);
myConnection.Open();
SqlCommand myCommand = new SqlCommand( SQLstring, myConnection );
myCommand.ExecuteNonQuery();
myConnection.Close();
##############################################
|
|
|
|
|
|
hi
I have some questions that I need to know the answers. These r in the ORACLE database.
Pleaaaaaaaaaaaaaaaaaaaaaaaaase, I need the answers sooooooooon.
answers any Q u can. Pleaaaaaaaaaaaaase.
the Q's r:
1-Write down SQL statement that shows free tablespace of one or more tablespaces. (In ORACLE)
2-Write down SQL statement that shows a particular table exists on which tablespaces.(In ORACLE)
3-. For example, one of the control file is deleted. When you start your database instance, you will receive message that database instance cannot startup. Write down steps how to resolve this task. Your steps must be outcome of implementation.(IN ORACLE)
4-Suppose you want to import data in one of the user’s schema, some tables with same names already existing in a schema. Write down tested imp command to accomplish it. Also, show the output result of your command.(IN ORACLE)
|
|
|
|
|
Sounds like you should have actually studied for this test.
Absolute faith corrupts as absolutely as absolute power
Eric Hoffer
All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke
|
|
|
|