Showing posts with label machine. Show all posts
Showing posts with label machine. Show all posts

Sunday, March 25, 2012

Conversion of Oracle Version 0-1 from DEC Machine

Hi... Have a customer who's running version 1 of oracle on a DEC
machine.. is there a driver out there for that stuff? How might one
get the data from the DEC machine to Sql Server 2000?? All I have
now are fdl/sfl files.

thanks in advance.

SteveSteve Walker wrote:
> Hi... Have a customer who's running version 1 of oracle on a DEC
> machine.. is there a driver out there for that stuff? How might one
> get the data from the DEC machine to Sql Server 2000?? All I have
> now are fdl/sfl files.
> thanks in advance.
> Steve

It is extremely unlikely that your customer has version 1 of Oracle
considering Oracle customer list at that point. Find out what they
really have and how they determined it.

--
Daniel A. Morgan
University of Washington
damorgan@.x.washington.edu
(replace 'x' with 'u' to respond)|||Hi

If there is an ODBC driver you may be able to connect.

John
"Steve Walker" <swalker@.ainet.com> wrote in message
news:bde87b71.0410221056.b2368dc@.posting.google.co m...
> Hi... Have a customer who's running version 1 of oracle on a DEC
> machine.. is there a driver out there for that stuff? How might one
> get the data from the DEC machine to Sql Server 2000?? All I have
> now are fdl/sfl files.
> thanks in advance.
> Stevesqlsql

Conversion MSDE to SQL Server 2000

Here is the scoop:

I have MSDE installed on a production machine together with a bunch of ASP.NET applications. I was asked to replace MSDE with SQL Server 2000 and move every application from MSDE to SQL Server 2000 with minimum downtime.

Did any of you go through a similar process?

What is the best way of doing this conversion?

How to move the backups from MSDE to SQL Server?

Is it possible to have MSDE and SQL Server 2000 coexists for a time while moving stuff around and redirecting every connection?

Any hints or suggestions would be greatly appreciated.

Thanks.You could install Sql Server 2000 & use transfer objects (with data) to move the data between the databases.
MSDE is a "lite" version of Sql Server 2000, so you shouldn't need any conversions or transformations.|||Thanks for the answer, I did some research and I found this also, perhaps it will help others as well

http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q325023

Conversion from type SqlInt32 to type Integer is not valid]

Hi all,

I am developing ASP.NET 1.1 application using VB.NET & SQL Server, on my machine I am using SQL Server 2000, and everything is working just fine.

The problem appears when I uploaded the site to the Host, they are using SQL Server 2005, is there any reason for this, I am using casting in the code, and I am sure there is something wrong with the hosting settings.

Any suggestions.

Best Regards

Wafi Mohtaseb

You can perform an explicit conversion between those two types

Dim xAs System.Data.SqlTypes.SqlInt32 = 5Dim yAs Integer y =CType(x,Integer)
|||

This is what I am doing in the code, and its working on my local server, the problem appears when I uploaded the site to the hosting company server.

Best regards,

|||

please post the code you are having trouble with.

|||
1Public Overrides Function Insert()As Boolean2 Dim cmdToExecuteAs SqlCommand =New SqlCommand3 cmdToExecute.CommandText ="dbo.[UserFiles_Insert]"4 cmdToExecute.CommandType = CommandType.StoredProcedure56' // Use base class' connection object7 cmdToExecute.Connection = _mainConnection89Try10 cmdToExecute.Parameters.Add(New SqlParameter("@.UserID", SqlDbType.Int, 4, ParameterDirection.Input,False, 10, 0,"", DataRowVersion.Proposed, _userID))11 cmdToExecute.Parameters.Add(New SqlParameter("@.FileName", SqlDbType.VarChar, 50, ParameterDirection.Input,False, 0, 0,"", DataRowVersion.Proposed, _fileName))12 cmdToExecute.Parameters.Add(New SqlParameter("@.FileType", SqlDbType.VarChar, 50, ParameterDirection.Input,False, 0, 0,"", DataRowVersion.Proposed, _fileType))13 cmdToExecute.Parameters.Add(New SqlParameter("@.FileSize", SqlDbType.Decimal, 9, ParameterDirection.Input,False, 18, 0,"", DataRowVersion.Proposed, _fileSize))14Dim lengthAs Integer = 015If Not _fileContent.IsNullThen16 length = _fileContent.Length17End If18 cmdToExecute.Parameters.Add(New SqlParameter("@.FileContent", SqlDbType.Image, length, ParameterDirection.Input,False, 0, 0,"", DataRowVersion.Proposed, _fileContent))19 cmdToExecute.Parameters.Add(New SqlParameter("@.FileID", SqlDbType.Int, 4, ParameterDirection.Output,False, 10, 0,"", DataRowVersion.Proposed, _fileID))2021' // Open connection.22 _mainConnection.Open()2324' // Execute query.25 cmdToExecute.ExecuteNonQuery()26Dim _fileIDAs SqlInt32
//Error ocures here27_fileID =New SqlInt32(CType(cmdToExecute.Parameters.Item("@.FileID").Value,Integer))28Return True29 Catch exAs Exception30' // some error occured. Bubble it to caller and encapsulate Exception object31Throw New Exception("UserFiles::Insert::Error occured.", ex)32Finally33' // Close connection.34 _mainConnection.Close()35 cmdToExecute.Dispose()36End Try37 End Function

Tuesday, March 20, 2012

Conversations & Machine Restart

Say I have a conversation established and the initiator server needs to reboot. Will the conversation automatically restart when the server comes back up? If not, can I get it to with some setting? If not, what is the best way to handle this?

Thanks - Amos

Yes. Conversations are persisted and hence they should recover and continue working from the point the point the process was killed during restart.sqlsql

Converfting a 2000 db to 2005.

I have a 2000 db that I've restored to a 2005 machine. When it restored it
restored as a version 80 db (2000 I would assume). To convert it to 2005 do
I just go into options and change the compatibility to 90?
Will it tell me if there are things that can't be converted?
TIA - Jeff.
It actually upgraded it to 2005 when you restored it. But upgraded dbs are
kept in 80 (2000) computability mode by default. Just change it to 9.0 and
you are all set.
Andrew J. Kelly SQL MVP
"Mufasa" <jb@.nowhere.com> wrote in message
news:ObOhzGicHHA.588@.TK2MSFTNGP06.phx.gbl...
>I have a 2000 db that I've restored to a 2005 machine. When it restored it
>restored as a version 80 db (2000 I would assume). To convert it to 2005 do
>I just go into options and change the compatibility to 90?
> Will it tell me if there are things that can't be converted?
> TIA - Jeff.
>

Converfting a 2000 db to 2005.

I have a 2000 db that I've restored to a 2005 machine. When it restored it
restored as a version 80 db (2000 I would assume). To convert it to 2005 do
I just go into options and change the compatibility to 90?
Will it tell me if there are things that can't be converted?
TIA - Jeff.It actually upgraded it to 2005 when you restored it. But upgraded dbs are
kept in 80 (2000) computability mode by default. Just change it to 9.0 and
you are all set.
--
Andrew J. Kelly SQL MVP
"Mufasa" <jb@.nowhere.com> wrote in message
news:ObOhzGicHHA.588@.TK2MSFTNGP06.phx.gbl...
>I have a 2000 db that I've restored to a 2005 machine. When it restored it
>restored as a version 80 db (2000 I would assume). To convert it to 2005 do
>I just go into options and change the compatibility to 90?
> Will it tell me if there are things that can't be converted?
> TIA - Jeff.
>|||OK. I guess the question then becomes why would I want to leave it in 80
compatibility mode?
"Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
news:%23lAH6SicHHA.3616@.TK2MSFTNGP05.phx.gbl...
> It actually upgraded it to 2005 when you restored it. But upgraded dbs are
> kept in 80 (2000) computability mode by default. Just change it to 9.0 and
> you are all set.
> --
> Andrew J. Kelly SQL MVP
> "Mufasa" <jb@.nowhere.com> wrote in message
> news:ObOhzGicHHA.588@.TK2MSFTNGP06.phx.gbl...
>>I have a 2000 db that I've restored to a 2005 machine. When it restored it
>>restored as a version 80 db (2000 I would assume). To convert it to 2005
>>do I just go into options and change the compatibility to 90?
>> Will it tell me if there are things that can't be converted?
>> TIA - Jeff.
>>
>|||Perhaps you app hasn't been fully converted to support 90 level yet.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Mufasa" <jb@.nowhere.com> wrote in message news:OhJYFOjcHHA.1000@.TK2MSFTNGP05.phx.gbl...
> OK. I guess the question then becomes why would I want to leave it in 80 compatibility mode?
> "Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
> news:%23lAH6SicHHA.3616@.TK2MSFTNGP05.phx.gbl...
>> It actually upgraded it to 2005 when you restored it. But upgraded dbs are kept in 80 (2000)
>> computability mode by default. Just change it to 9.0 and you are all set.
>> --
>> Andrew J. Kelly SQL MVP
>> "Mufasa" <jb@.nowhere.com> wrote in message news:ObOhzGicHHA.588@.TK2MSFTNGP06.phx.gbl...
>>I have a 2000 db that I've restored to a 2005 machine. When it restored it restored as a version
>>80 db (2000 I would assume). To convert it to 2005 do I just go into options and change the
>>compatibility to 90?
>> Will it tell me if there are things that can't be converted?
>> TIA - Jeff.
>>
>>
>|||Aahh. OK. Thanks.
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:OA06fRjcHHA.5044@.TK2MSFTNGP05.phx.gbl...
> Perhaps you app hasn't been fully converted to support 90 level yet.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
>
> "Mufasa" <jb@.nowhere.com> wrote in message
> news:OhJYFOjcHHA.1000@.TK2MSFTNGP05.phx.gbl...
>> OK. I guess the question then becomes why would I want to leave it in 80
>> compatibility mode?
>> "Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
>> news:%23lAH6SicHHA.3616@.TK2MSFTNGP05.phx.gbl...
>> It actually upgraded it to 2005 when you restored it. But upgraded dbs
>> are kept in 80 (2000) computability mode by default. Just change it to
>> 9.0 and you are all set.
>> --
>> Andrew J. Kelly SQL MVP
>> "Mufasa" <jb@.nowhere.com> wrote in message
>> news:ObOhzGicHHA.588@.TK2MSFTNGP06.phx.gbl...
>>I have a 2000 db that I've restored to a 2005 machine. When it restored
>>it restored as a version 80 db (2000 I would assume). To convert it to
>>2005 do I just go into options and change the compatibility to 90?
>> Will it tell me if there are things that can't be converted?
>> TIA - Jeff.
>>
>>
>>
>|||"Mufasa" <jb@.nowhere.com> wrote in message
news:%23wvvy0jcHHA.2332@.TK2MSFTNGP04.phx.gbl...
> Aahh. OK. Thanks.
Note, that things like the query optimizer will be "updated" either way and
this can have adverse consequences in a few degenerate cases.
But overall you probably want to QA your DB under 2005 and change the
compatibility to it as soon as you can.
> "Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote
> in message news:OA06fRjcHHA.5044@.TK2MSFTNGP05.phx.gbl...
>> Perhaps you app hasn't been fully converted to support 90 level yet.
>> --
>> Tibor Karaszi, SQL Server MVP
>> http://www.karaszi.com/sqlserver/default.asp
>> http://www.solidqualitylearning.com/
>>
>> "Mufasa" <jb@.nowhere.com> wrote in message
>> news:OhJYFOjcHHA.1000@.TK2MSFTNGP05.phx.gbl...
>> OK. I guess the question then becomes why would I want to leave it in 80
>> compatibility mode?
>> "Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
>> news:%23lAH6SicHHA.3616@.TK2MSFTNGP05.phx.gbl...
>> It actually upgraded it to 2005 when you restored it. But upgraded dbs
>> are kept in 80 (2000) computability mode by default. Just change it to
>> 9.0 and you are all set.
>> --
>> Andrew J. Kelly SQL MVP
>> "Mufasa" <jb@.nowhere.com> wrote in message
>> news:ObOhzGicHHA.588@.TK2MSFTNGP06.phx.gbl...
>>I have a 2000 db that I've restored to a 2005 machine. When it restored
>>it restored as a version 80 db (2000 I would assume). To convert it to
>>2005 do I just go into options and change the compatibility to 90?
>> Will it tell me if there are things that can't be converted?
>> TIA - Jeff.
>>
>>
>>
>>
>
--
Greg Moore
SQL Server DBA Consulting Remote and Onsite available!
Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html|||Hello,
Can you install the Upgrade Advisor and excute the advisor for your SQL 2000
database. Based on the advise you could do nessary chages to make the
database fully
compatibel to SQL 2005.
Thanks
Hari
"Mufasa" <jb@.nowhere.com> wrote in message
news:%23wvvy0jcHHA.2332@.TK2MSFTNGP04.phx.gbl...
> Aahh. OK. Thanks.
> "Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote
> in message news:OA06fRjcHHA.5044@.TK2MSFTNGP05.phx.gbl...
>> Perhaps you app hasn't been fully converted to support 90 level yet.
>> --
>> Tibor Karaszi, SQL Server MVP
>> http://www.karaszi.com/sqlserver/default.asp
>> http://www.solidqualitylearning.com/
>>
>> "Mufasa" <jb@.nowhere.com> wrote in message
>> news:OhJYFOjcHHA.1000@.TK2MSFTNGP05.phx.gbl...
>> OK. I guess the question then becomes why would I want to leave it in 80
>> compatibility mode?
>> "Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
>> news:%23lAH6SicHHA.3616@.TK2MSFTNGP05.phx.gbl...
>> It actually upgraded it to 2005 when you restored it. But upgraded dbs
>> are kept in 80 (2000) computability mode by default. Just change it to
>> 9.0 and you are all set.
>> --
>> Andrew J. Kelly SQL MVP
>> "Mufasa" <jb@.nowhere.com> wrote in message
>> news:ObOhzGicHHA.588@.TK2MSFTNGP06.phx.gbl...
>>I have a 2000 db that I've restored to a 2005 machine. When it restored
>>it restored as a version 80 db (2000 I would assume). To convert it to
>>2005 do I just go into options and change the compatibility to 90?
>> Will it tell me if there are things that can't be converted?
>> TIA - Jeff.
>>
>>
>>
>>
>

Converfting a 2000 db to 2005.

I have a 2000 db that I've restored to a 2005 machine. When it restored it
restored as a version 80 db (2000 I would assume). To convert it to 2005 do
I just go into options and change the compatibility to 90?
Will it tell me if there are things that can't be converted?
TIA - Jeff.It actually upgraded it to 2005 when you restored it. But upgraded dbs are
kept in 80 (2000) computability mode by default. Just change it to 9.0 and
you are all set.
Andrew J. Kelly SQL MVP
"Mufasa" <jb@.nowhere.com> wrote in message
news:ObOhzGicHHA.588@.TK2MSFTNGP06.phx.gbl...
>I have a 2000 db that I've restored to a 2005 machine. When it restored it
>restored as a version 80 db (2000 I would assume). To convert it to 2005 do
>I just go into options and change the compatibility to 90?
> Will it tell me if there are things that can't be converted?
> TIA - Jeff.
>|||OK. I guess the question then becomes why would I want to leave it in 80
compatibility mode?
"Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
news:%23lAH6SicHHA.3616@.TK2MSFTNGP05.phx.gbl...
> It actually upgraded it to 2005 when you restored it. But upgraded dbs are
> kept in 80 (2000) computability mode by default. Just change it to 9.0 and
> you are all set.
> --
> Andrew J. Kelly SQL MVP
> "Mufasa" <jb@.nowhere.com> wrote in message
> news:ObOhzGicHHA.588@.TK2MSFTNGP06.phx.gbl...
>|||Perhaps you app hasn't been fully converted to support 90 level yet.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Mufasa" <jb@.nowhere.com> wrote in message news:OhJYFOjcHHA.1000@.TK2MSFTNGP05.phx.gbl...[vbc
ol=seagreen]
> OK. I guess the question then becomes why would I want to leave it in 80 c
ompatibility mode?
> "Andrew J. Kelly" <sqlmvpnooospam@.shadhawk.com> wrote in message
> news:%23lAH6SicHHA.3616@.TK2MSFTNGP05.phx.gbl...
>[/vbcol]|||Aahh. OK. Thanks.
"Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote in
message news:OA06fRjcHHA.5044@.TK2MSFTNGP05.phx.gbl...
> Perhaps you app hasn't been fully converted to support 90 level yet.
> --
> Tibor Karaszi, SQL Server MVP
> http://www.karaszi.com/sqlserver/default.asp
> http://www.solidqualitylearning.com/
>
> "Mufasa" <jb@.nowhere.com> wrote in message
> news:OhJYFOjcHHA.1000@.TK2MSFTNGP05.phx.gbl...
>|||"Mufasa" <jb@.nowhere.com> wrote in message
news:%23wvvy0jcHHA.2332@.TK2MSFTNGP04.phx.gbl...
> Aahh. OK. Thanks.
Note, that things like the query optimizer will be "updated" either way and
this can have adverse consequences in a few degenerate cases.
But overall you probably want to QA your DB under 2005 and change the
compatibility to it as soon as you can.

> "Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote
> in message news:OA06fRjcHHA.5044@.TK2MSFTNGP05.phx.gbl...
>
Greg Moore
SQL Server DBA Consulting Remote and Onsite available!
Email: sql (at) greenms.com http://www.greenms.com/sqlserver.html|||Hello,
Can you install the Upgrade Advisor and excute the advisor for your SQL 2000
database. Based on the advise you could do nessary chages to make the
database fully
compatibel to SQL 2005.
Thanks
Hari
"Mufasa" <jb@.nowhere.com> wrote in message
news:%23wvvy0jcHHA.2332@.TK2MSFTNGP04.phx.gbl...
> Aahh. OK. Thanks.
> "Tibor Karaszi" <tibor_please.no.email_karaszi@.hotmail.nomail.com> wrote
> in message news:OA06fRjcHHA.5044@.TK2MSFTNGP05.phx.gbl...
>sqlsql