|
Hai
My system is already installed with SQL server 2000 . Is it possible for me to install SQL server 2005 BETA CTP in the same machine and run both side by side.
Regards
|
|
|
|
|
Yes, but I wouldn't recommend using the beta any more. The beta period is over why don't you use the final version?
ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
|
|
|
|
|
Thanks for ur reply.
i installed 2005. The Server Mangaement Studio still connect to version 8.0. SQL server express instance is not running . how can i manually run the instance or please suggest any other alernative.
In 2000 we had service manager, is anything similar in 2005
Regards
|
|
|
|
|
anig1234 wrote: how can i manually run the instance
Use the SQL Server Configuation manager.
anig1234 wrote: In 2000 we had service manager, is anything similar in 2005
The SQL Server Configuration manager is similar, but much expanded as you can do a lot more than jist start and stop services.
ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
|
|
|
|
|
Thanks For the reply.
Woruld you please tell me the steps to follow and make Server management studio use SQL server version 9.0
Is there any way to Switch between version 8.0 and 9.0 in SMS.
Regards
|
|
|
|
|
anig1234 wrote: Woruld you please tell me the steps to follow and make Server management studio use SQL server version 9.0
It is installed with SQL Server 2005 (version 9.0 as you put it) and will automatically pick up on any SQL Servers on the local machine - At least mine did - you should not have to do any additional work.
anig1234 wrote: Is there any way to Switch between version 8.0 and 9.0 in SMS.
You can have multiple SQL Servers running on a physical machine simultaneously. There is no need to "switch" between them.
ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
|
|
|
|
|
Hallo,
Most of the utilities won't work with the beta. At least I never got them running on my server. The latest version is ok. No problem with the server management studio.
I run sql server 2000 (msde) and sql server 2005 (express) since half a year already side by side. My only problem was. I could only use osql. Everything else was not working.
Now I again installed side by side on another server using the latest express version. Everything is working with little problems.
Sincerely
Chris
|
|
|
|
|
I have a small query regarding SQL server 2000. I want to create a database whose mdf and ldf files will reside on a different computer. Now this computer is a Linux Server. My criteria is that, the mdf and ldf files will reside on a Linux server and I should be able to access those files from the SQL server installed on my system. Is this possible? If so, how do I go about doing it?
Thanks...
---
With best regards,
A Manchester United Fan
The Genius of a true fool is that he can mess up a foolproof plan!
|
|
|
|
|
Save My Soul - (SMS) wrote: My criteria is that, the mdf and ldf files will reside on a Linux server and I should be able to access those files from the SQL server installed on my system. Is this possible?
No. The files used by SQL Server must reside on the same physical machine that the SQL Server service is running on.
ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
|
|
|
|
|
Hi, everyone. Need help here. Let's straight to question:
I have 2 tables:
tb1 -- productID, productDescription
tb2 -- productID, itemID, itemDescription......blabla
In my tb1:
productID | productDescription
-------------------------------
HAD | Hardware
TOY | Toy
CAR | Car
STA | Stationary
and in my tb 2:
productID | itemID | itemDescription ......blabla
-------------------------------------------------
HAD | mou1 | mouse1
HAD | mou2 | mouse2
HAD | mou3 | mouse3
...
..
TOY | scar1 | small car1
TOY | scar2 | small car2
...
..
.
Assume that
there got 7 items under TOY, 18 under HAD, 18 under CAR,
and ___No Item Under STA___ <--- I have problem with this. keep reading.
--------------------------------------------------------------
i'm using MSSQL,
this is the sql command i worked so far:
select tb1.productID, count (tb2.itemID) as CountedProducts
from tb1, tb2 where
tb1.productID=tb2.productID
group by tb1.productID
/*result*/
TOY 7
HAD 18
CAR 18
/********************/
but the expected result i want is suppose to be like this
STA 0
TOY 7
HAD 18
CAR 18
anyone please help. thx.
|
|
|
|
|
You have used INNER JOIN query. Please use LEFT OUTER JOIN
|
|
|
|
|
hi nguyenvhn
thx a lot of very many uncounted muchesss.
ref: article about the LEFT OUTER JOIN
http://www.devx.com/dbzone/Article/17403/0/page/4
hopefully this help those who has similar case as mine.
|
|
|
|
|
i don't know username/password that connection as SYSDBA
how can i do. please somebody let me know
thank a lot
Best Regrad
Tatee
|
|
|
|
|
If you don't know a username and password with enough rights to stop the database, let alone connect to it, your question is pointless. There is nothing that will tell you what any username or password is. You'll have to get this from the database administrators.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I'm using a smart device which run Win CE witn SQL CE 2.0. Would like to know what is the best way to export a table in the device with 50,000 records to a text file.
Should i use a SQL SELECT statement like "SELECT * FROM TABLE" into a data set and later loop the DataTable in the DataSet and export write it to a text file ?
Or select in it into a DataReader and loop the DataReader? Which one will provide a better performance ?
I try to to use method 1 (loop the DataTable in DataSet, but the proble is it take a long time to select all the record into the dataset, and it look like hang over there to the user , because i can't update the status and show to the user.
However method 2 (loop DataReader) seen like bit better at least i was able to update the status to the user and let user know the program is running.
Please kindly advise. Thank in advance.
|
|
|
|
|
kakarato wrote: into a data set and later loop the DataTable in the DataSet and export write it to a text file ?
Or select in it into a DataReader and loop the DataReader? Which one will provide a better performance ?
If you use a DataAdapter to fill a DataSet then the entire contents are read with a DataReader (that is how a DataAdapter gets the information from the database) and the DataTable is populated with the data, you have to wait for this operation to complete before you can access even one row. Then you can write it to your file.
With a DataReader you can write the rows directly to the file as you get them. You do not have to wait for a DataTable object to be filled and you do not waste that memory either.
As you have discovered already that the user is left hanging around for a long time while the DataSet is filled, while the DataReader allows you to give feedback on progress immediately.
ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
|
|
|
|
|
Thanks Colin.
|
|
|
|
|
Hi All,
In my project database is SQL server.
The LDF file size is increasing considerably(now it is 16 gb).
It may be due to unCommited transactions.
My question is that if I close the connection after each query execution will it commit the transaction so that the file size will be small.?
or is there any other solution to decrease the file size?
Thanks
|
|
|
|
|
anant.awadhut wrote: My question is that if I close the connection after each query execution will it commit the transaction
In general terms, no, you have to commit the transaction yourself, provided you actually started one. If you start a transaction and don't explicitly commit it, then, upon disconnection from the database, it assumes the transaction is not complete and any changes within that transaction are rolled back.
You might find this[^] MS KB article useful in helping you determine where the problem is.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
OK. This has been bugging me for a little while.
I assumed you where doing the basics:
Are you backing up the database regularly?
Are you backing up the Transaction Log, and truncating the log to remove old, unneeded transactions?
If not, you might want to go into the Enterprise Manager and setup a Maintenance Plan....
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Yes I am backing up the database daily.
I am taking the backup of complete database not just a ldf or MDF file.
But I don't know how to truncate the log to remove old,unneeded transactions.
How this can be done?
Thanks
|
|
|
|
|
Well, you can read the docs on the BACKUP sql statement here[^].
If you're doing a Full backup of the database, and the log doesn't get truncated already, you can follow it up with the SQL statement
BACKUP LOG databaseName TRUNCATE_ONLY
to dump the old transactions in the log that are no longer required to rebuild the database.
What you're trying to maintain is a backup of the data, which you're doing daily, and a backup of the transactions in the log since the backup of the data was last done.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-- modified at 12:31 Saturday 7th January, 2006
|
|
|
|
|
Hi,
I have to develop a complex database, but I need to look and work through sample databases. Ideally I would like to look at the eBay database because it comes with a lot of features such as product listings in various countries, shipping, etc. I had a look at the eBay API at http://developer.ebay.com, but can't seem to find the database. I'm not sure if it is available for download.
Does anyone know if the website, or part of the website is available for download with the Windows API code?
If anyone knows of good sample databases I can use for my project, please let me know. It is an e-commerce application that has shipping, products listings in various "country-based websites", loyalty point system, displays what other products were bought etc.
Regards
ma se
|
|
|
|
|
ma se wrote: Ideally I would like to look at the eBay database because it comes with a lot of features such as product listings in various countries, shipping, etc. I had a look at the eBay API at http://developer.ebay.com, but can't seem to find the database. I'm not sure if it is available for download.
I would seriously doubt it would be available - That is proprietary information and companies guard that kind of thing jelously because it is the key into their business.
ma se wrote: If anyone knows of good sample databases I can use for my project, please let me know.
The Advernture Works database that comes with SQL Server 2005 is a good sample database to get you started.
ColinMackay.net
"Man who stand on hill with mouth open will wait long time for roast duck to drop in." -- Confucius
"If a man empties his purse into his head, no man can take it away from him, for an investment in knowledge pays the best interest." -- Joseph E. O'Donnell
|
|
|
|
|
Thanks for the reply.
I have SQL Server 2005 Express. I miss the query analyser in this version as what I had in SQL Server 2000. Everything seems to work through C# Express, or Visual Web Developer Express. Is there such a product available for SQL Server Express edition? I would like to view the Advernture Works database? Where can I download this database if it does not come with the express edition?
|
|
|
|