Quantcast
Channel: SQL Server Migration forum
Viewing all 1700 articles
Browse latest View live

SQL SERVER 2012 INSTANCE CONFIGURATION SETTINGS

$
0
0

Hi all,

We have migrated our server to sql 2012 .we did not change the memory allocation settings but the task manger shows that the 98% of the system RAM has been used.So,we restarted the server and added 10 GB more .There are jobs that run every 5 minutes slowly the usage of RAM is getting big .After the restart started using 9 GB now with in hours its using 13 GB.Its a 64-bit sql server 2012.How much memory would I allocate to System OS?How much for the sql server? Please let me know ??

Regards,

chinna..


ssma cannot find sql server instances

$
0
0

Windows server 2008 R2 (64 bit)

SQL Server 2012 running on the same box.

SSMA for access.

Connect to SQL server cannot find any instances.

It seems obvious that any instance would be detectable to this SSMA.

Does it require an SQL server native client?

MS Server Management Studio 2012 can open the local instance.

Connect to oracle using database links from sqlserver

$
0
0

We are migrating from oracle 9i to sql server2008 R2.we do have database links in oracle those connect to another oracle database server.Sql database server is having only sql server, oracle is not installed on this machine.

after migrating to Sql server, will existing database links will work ? If not, what we have to do ?


Nitin Varshneya

linked tables at halves in SQL Server and in Access mdb

$
0
0

Hello!

I try to migrate Access mdb database to SQL Server with help of SSMA. Everything goes good, but I have some questions/or some doubts.

If to as shortly: Can I have at same time tables that are linked from SQL Server and tables that are in Access mdb file.

As I know - I can not use join queries with tables on SQL Server and MDB if they are joined by text field ( because text fields are different stored in Access adn SQLS )

I have also seeing some recommendations about that all tables should be or in SQL Server or in MDB.

But what I'v seeing by my own eyes is that when I link some tables to SQL Server some queries are working much more slowly than if a stay them in Access. For example:

1. I have linked to SQL Server 5 tables and try to run query that used those 5 tables - it works slow.

2. I have linked to SQL Server only 3 tables and everything works with same speed as in Access.

I have tried rebuild indexes - it has doesn't helped.

So, may be it is possible to leave some tables in Access and migrate just only some to SQL Server?

Convert Unicode VARCHAR2(N CHAR) to NVARCHAR(N). Multiplies length by four (4)

$
0
0

Applies to SSMA 2005 and 5.2.

In Column type mapping I have specified VARCHAR2[*..*] to map to NVARCHAR[*]

Source db is Oracle 11gr2, unicode. Target db is SQL Server 2005 or 2008.

A table with column VARCHAR2(128 CHAR) is being converted to NVARCHAR(512). I want it to be converted to NVARCHAR(128). Unless the SQL Server doco is wrong, NVARCHAR(128) will hold a string of 128 characters.

When I click on Convert Schema in the Oracle schema, I can see immediately that SSMA is reading my VARCHAR2(128 CHAR) as VARCHAR2(512). How can I fix this?

Missing table after migration

$
0
0

Hi all,

  I am not sure this question is in the correct forum and if it is not please let me know where it should go.  We have moved our databases to another disk and when doing so also did some disk cleanup.  It appears that we may have deleted a file or folder that we should not have and this particular file/folder may not have been included in our backups.  The database seems to be working just fine however we get the following error when backing up...

"Executing the query "BACKUP DATABASE [db_name]..." failed with the following error: "The backup of the file or filegroup "sysft_ftTblHelp_app" is not permitted because it is not online. BACKUP can be performed by using the FILEGROUP or FILE clauses to restrict the selection to include only online data.
BACKUP DATABASE is terminating abnormally.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly."

  I've searched through our backups to try and find this file/filegroup/etc however I am unable to locate where it may be.  Is there a way of figuring out what or where this file/filegroup is supposed to be located?  I've done a windows search and thus far have come up with nothing. 

  Thanks in advance for any help anyone might offer.


upgrade express to full. Sql Server Express 2005 sp3 to Sql Server Standard 2005 sp1

$
0
0

We are moving a customer from Sql Server Express 2005 sp3 to the full Standard install.  However, the current install is sp3 and there are no .iso installs (that I see on MSDN) that bring me directly to Sql Server Standard 2005 sp3.  I can only use the 2005 sp1 install.  This is considered a "downgrade".

The only way I know to do this is to back up the databases, install the downgrade version then install the service pack.  I am hoping for something better.  We are trying to avoid down time.  Can someone give me direction on what the upgrade path is?


Data Integration Application Developer

Copy database wizard given while copy and the job failed.

$
0
0

Hi all,

error - Check the event log on the destination server for details at sql server 2008 r2

I am using copy wizard in sql server 2008 r2 machine to copy a database to another sql server 2008 r2 machine.

i not sure why?? Need help regarding this issue.

How to solve this???


Regards

Hafizah


Bug found - SQL 2012

$
0
0

I just want to report a bug I found.  I've recently updated a database from SQL 2008 to SQL 2012.  This morning a daily procedure failed.  Upon further investigation I found a view had been updated as follows: 

SELECT     PolicyKey, Policy, PolicyStartDate, Sequence, Amendment, Status, RatingStatus, OldPolicy, ClientNumber, TransactionType, EffectiveDate, BillingType, NextBillingType, Reversed, BusinessLine, BranchCode, GroupCode, BrokerCode, PolicyEndDate, PreviousInsurerCode, PreviousPolicy, RequestLetter, RenewalCode, RenewalBusinessLine, NonRenewalRemark, AmendmentCode, AmendmentRemark, InsuredSince, InceptionDate, DatePrinted, PostDate, DatePosted, ShortRate, Subscription, LeadPolicyNumber, PrintPolicy, BusinessType, BrokersCancelDate, UploadedFromBroker, BrokerIDForInsured, IneligibleforPHIX AS HeldBy, HeldBy AS DateHeld, DateHeld AS HeldByUniID, HeldByUniID AS AddedBy, AddedBy AS DateAdded, DateAdded AS ChangedBy, ChangedBy AS DateChanged, DateChanged

FROM         GIMS.dbo.Policies


Please note the section where a field had been added to the table (IneligibleforPHIX) and SQL tried to compensate by adding the AS keyword to retain position.  This ultimately offset the entire result set by 1.  IE: 1 as 2, 2 as 3, 3 as 4, 4 as 5...  etc. and completely screwed up the data selection from it.


Restore Sql Server 2012 DB on to Sql server 2008 R2 ?

$
0
0

Hi, is it possible to Restore a Sql Server 2012 database on to Sql server R2 Server ?

Thanks in Advance,
San

MAINTENANCE PLAN

$
0
0

Hi all,

Can we cleanup the compressed zip files of bak files of a database  using the cleanup task .I have given the extension as .zip in the plan wizard but it did not work. 

any advice,

chinna.

Impossible to obtain a correct License key for Microsoft SQL Server Migration Assistant for Oracle

$
0
0

Hi,

I'm trying to migrate a Oracle DB to an SQL Server 2005 DB ...

So, I have found  ...the tool "Microsoft SQL Server Migration Assistant for Oracle" ..
It's installed on my computer (Windows XP) ...

When I launch the tool, a popup is displayed with "License keymanagement" and a link "license registration page" ..
When I complete the form, and request the license key file .. I receive an error like "File not found on the server (download.microsoft.com)" ...

I had a discussion with a ms helpdesk .. the guy give to me a license key .. but it 's not a valid key too ...(from here :http://www.microsoft.com/en-us/download/confirmation.aspx?id=18589)

How to obtain this key ...

DB marked as (Suspect) after P2V migration.

$
0
0

Hi,

Have just completed a P2V migration on a server and one of the databases in SQL Server 2008 has been marked as suspect?

How to fix this? Any assistance would be much appreciated.

Thanks

TRASLADO DE DATOS DE UNA TABLA A OTRA SQL 2008

$
0
0

Buenas noches..

Les parecera algo raro pero espero me puedan entender y comprender..
Estoy haciendo un pequeño aplicativo para una tienda de un amigo..
El posee dos negocios no muy lejano uno del otro..

El problema radica en que por la accesibilidad de la zona le es muy
dificil conseguir un proveedor de internet por lo que me es un poco dificil
concentrar la data en un solo punto..

En ambos negocios tienen la misma BD.. en una tabla registro la venta
de los productos.. Lo que yo quiero es trasladar los datos de esas dos tablas
a una tabla vacia..

Como puedo trasladar la data de ambas BD.. dejando de lado la data que ya pase.. x ejemplo..

El lunes lo que vendi es..
Prod. A, B, C y D..

EL martes vendi.. E y F..
por lo que mi tabla estaria con los datos A, B, C, D, E y F..

Lo que no quiero es sobreescribir la info que ya esta..

Deseo saber si existe alguna manera de pasar los datos que no estan en la bd.. 
Muchas gracias..


Jokesito

Migrating from DB2 to SQL Server 2012

$
0
0

I saw the article about "Migration from DB2 to SQL Server, but it was for 2005 and 2008.  Are there any documents available to help with the migration from DB2 to SQL Server 2012 or has anyone tried this yet?

Thanks


linked server

$
0
0

Error is 7343 mentioned in the blog links below

But here  sql server 2012 connected to sql server 2000 ' MSDASQL'

It is inserting  most of the values but did not insert 3 values returning the error 7343

Is this the problem with sql2000 also or only with 'mysql'

any ideas??

http://pulse.sqlserverpedia.com/blog/17316/

http://social.msdn.microsoft.com/Forums/en-US/transactsql/thread/07fe6bf8-32a5-4d64-9819-5025ed5b3bd9/

Access 2010 Redistributable to Secured Access Databases (2003 mdb)

$
0
0

Error:OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" returned message "Cannot start your application. The workgroup information file is missing or opened exclusively by another user.".

After looking around, I just might be the only one that this error actually means what it says.  I know that I haven't supplied the workgroup file, and it WILL be necessary.

If I was working in SQL 32 bit, then I would have used this article,support.microsoft.com/kb/246255, and been done.  What I’m looking for is the equivalent location in the registry or syntax addition to supply the workgroup file when using SQL 64bit, microsoft.com/en-us/download/details.aspx?id=13255, thus 'Microsoft.ACE.OLEDB.12.0'.

Error:Cannot truncate target table. Reason: ExecuteReader requires an open and available Connection. The connection's current state is closed.

$
0
0

Hello there,

We are currently using SSMA v5.2 to migrate from Oracle 10.2.04 to SQL 2008R2, we have a few tables that has very large row counts, one is 400million rows, another is around 30million rows (we have not selected to convert this 2 tables in the POC) and the one that caused the error on the topic is 300k rows but contains blob. Another table that contains blob but only about 30k rows were migrated fine if we selected it by itself, it took around 1hr for that particular table. With that in mind we thought that perhaps the table with 300k blob rows may be ok if selected by itself, but it threw the error around 25%

Is SSMA able to handle large blob migration for this case and are there any settings that can be tweaked to improve the migration. We are concern on the tables that have millions of rows if SSMA is failing on BLOB migration. Would appreciate any pointers/help/suggestions.

Thanks!

Trasnferir datos de una tabla a otra con diferentes campos

$
0
0

Cordial Saludo,

Pueden ayudarme como puedo transferir datos de la tabla clientes de una base de datos 1 a una base de datos 2 con campos diferentes.

en la tabla clientes de la bd1 el campo nombre se llama firstname y en la tabla clientes de la bd2 el campo nombre se llama nombres1.

Gracias por su colaboracion.

converting triggers

$
0
0

hello, I need your help to convert ORACLE  triggers to SQL SERVER.

-----------------

create or replace

TRIGGER "COM2010"."TG2_INS_UP_DOCLIGNE"

 BEFORE INSERT OR UPDATE ON F_DOCLIGNE

FOR EACH ROW

DECLARE

PDSART  NUMBER(5,2);

QTESTOCK NUMBER (24,6);

MONTSTOCK NUMBER (24,6);

DERNPA NUMBER (24,6);

mq1  number(24,6);

qt1  number(24,6);

 

 

BEGIN

if (:new.cbcreateur='CSQL')AND (:NEW.DO_TYPE=20) then

BEGIN

 

:new.DL_TREMEXEP:=0;

:new.DL_TNOMENCL:=0;

 

:new.DL_QTEBL:=:new.dl_qte;

:new.DL_qtepl:=0;

 

:new.DL_poidsnet:=0;

:new.DL_pubc:=0;

:new.re_no:=0;

:new.gl_no:=0;

:new.DL_ESCOMPTE:=0;

:new.DL_Typepl:=0;

 

 

:new.DL_Taxe2:=0;

:new.DL_Taxe3:=0;

:new.DL_Typetaxe1:=0;

:new.DL_Typetaxe2:=0;

:new.DL_Typetaxe3:=0;

:new.DL_Typetaux1:=0;

:new.DL_Typetaux2:=0;

:new.DL_Typetaux3:=0;

 

:new.DL_remise01rem_valeur:=0;

:new.DL_remise02rem_valeur:=0;

:new.DL_remise03rem_valeur:=0;

:new.DL_remise01rem_type:=0;

:new.DL_remise02rem_type:=0;

:new.DL_remise03rem_type:=0;

 

:new.Do_datelivr:=to_date('01/01/00','DD/MM/RR');

:new.DL_datePL:=to_date('01/01/00','DD/MM/RR');

:new.DL_dateBC:=to_date('01/01/00','DD/MM/RR');

 

:new.DL_frais:=0;

:new.DL_nonlivre:=0;

 

 

 SELECT AR_POIDSBRUT INTO PDSART FROM F_ARTICLE WHERE AR_REF = :NEW.AR_REF;

 

  :NEW.DL_POIDSBRUT:=:new.dl_qte* PDSART*1000;

  :new.dl_montantHT:=:new.dl_qte* :new.dl_prixunitaire;

  :new.dl_montantTTC:=:new.dl_qte* :new.dl_prixunitaire;

END;

 

  END IF;

 

  if (:new.do_domaine=0 and :new.do_type=4)and (:new.ar_ref like'EM%') then

begin

mq1:=:new.qt_provisoire;

qt1:=:new.dl_qte;

:new.qte_mqt:=mq1-qt1;

:new.tot_mqt:=(mq1-qt1)* :new.dl_prixunitaire;

end;

end if;

 

 

 if ( :new.do_domaine=1 and :new.dL_mvtstock=1 AND :new.de_no=2) then

begin

select as_qtesto into qtestock from f_artstock  where ar_ref=:new.ar_ref and de_no=2;

select as_montsto into montstock from f_artstock  where ar_ref=:new.ar_ref and de_no=2;

if (qtestock<>0 and :new.dl_prixunitaire=0)  then

BEGIN

:new.dl_prixunitaire:=montstock/qtestock;

:new.dl_prixru:=montstock/qtestock;

END;

end if;

if (qtestock=0) and (:new.dl_prixunitaire=0) then

begin

select ar_punet into dernpa from f_article where ar_ref=:new.ar_ref;

:new.dl_prixunitaire:=dernpa;

:new.dl_prixru:=dernpa;

end;

end if;

end;

end if;

 

 

END;


Viewing all 1700 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>