Database upgradation from SQL Server 2008 to 2012
Hi Experts,
I am upgrading MSSQL 2008 to MSSQL 2012. This box contains all of the DBs for our Sharepoint installation.
We have identified that we can run the setup wizard to change the database and basically restore a backup from the 2008 database onto the 2012 database running in 2008 compatibility mode. But what should be done about the SharePoint Foundation database running
on the 2008 database?
Help me to resolve the issue.
Regards
Prakash M
Hi Prakash,
Here you are the steps i have used while doing such upgrade:
To Migrate SharePoint DBs from SQL Server to another either same version or to a new version (2008 to 2008 or 2008 to 2012) you can follow the following steps:
Stop all SharePoint and IIS Related Services.
Stop IIS.
Detach all related SQL Server databases.
Configuration database
Central Administration content database
Content databases
Service application databases
Move all database files (.mdf, .ldf, and .ndf) to the new server.
Set up same user permissions on the new SQL server.
Attach your databases to the new SQL Server.
Verify ports in your new SQL server.
Go to your SharePoint server and create your SQL Server Alias.
Start all your SharePoint service
Hope this is helpful
Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
Similar Messages
-
"URl has already been reserved".
Reporting services for port 80 and 443 works fine both for reports and reportingserver on SQL server 2008 R2. But when I try to upgrade from SQL server 2008 R2 to 2012 this error pops up. How to make sure before upgrading regarding reporting services that
URL reserves and SSL are fine or how to fix reporting services are upgrade like repair install.
ThanksHi yashmitl,
In your case, please running the following command to check the current URL reservations on http.sys.
netsh http show urlacl
Then, please delete the URL reservation by executing the following command try to resolve the issue.
netsh http delete urlacl <url>
There is a similar issue, you can refer to it.
http://social.technet.microsoft.com/Forums/en-US/d5204dd3-e26d-4592-8ef0-a94005fc46a5/the-url-has-already-been-reserved?forum=sqlreportingservices
Hope this helps.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
Unable to upgrade from SQL Server 2008 R2 to SP1
Hi there
I am currently in the middle of installing and configuring Sharepoint 2013 on a Windows 2012 R2 Virtual Server. I have first installed SQL Server 2008 R2 and then installed sharepoint 2013 including all of the prerequisites.
When I go to the SharePoint products configuration wizard, I get an error on the 'specify configuration database settings' page saying that I do not have the right SQL version as sharepoint 2013 needs SQL server 2008 R2 SP1 installed.
So I downloaded SP1 for SQL server 2008 R2 x86 but when I run the update, there are no instances for me to select to upgrade - it just says 'Shared Features'.
Sorry if this is a silly question - I am quite new to SQL!
TomHello,
You probably have a 64-bit SQL Server 2008 R2 instance but you downloaded a 32-bit version of SP1 for SQL Server 2008 R2.
Please download the 64-bit version of SP1.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Upgrade to SQL Server 2008 R2 fails
I'm trying to upgrade from SQL Server 2008 Express to SQL Server 2008 R2 Enterprise. The installation is failing. I get two log files. The first appears to be a summary. The second is an MSI install log file. The MSI log is too large to paste in here and
I cannot attach files, so I included the section where it appears to fail. Based on the log contents below, how can I fix this?
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -2068024447
Exit facility code: 1212
Exit error code: 29569
Exit message: Failed: see details below
Start time: 2015-04-06 21:07:14
End time: 2015-04-06 21:13:54
Requested action: Upgrade
Log with failure: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20150406_210629\sql_engine_core_inst_ctp6_Cpu64_1.log
Exception help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=10.50.1600.1
Machine Properties:
Machine name: DAD-PC
Machine processor count: 12
OS version: Windows 7
OS service pack: Service Pack 1
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: No
Product features discovered:
Product Instance Instance ID
Feature Language
Edition Version Clustered
Sql Server 2008 SQLEXPRESS MSSQL10.SQLEXPRESS Database Engine Services
1033 Express Edition 10.3.5500.0 No
Sql Server 2008 SQLEXPRESS MSSQL10.SQLEXPRESS SQL Server Replication
1033 Express Edition 10.3.5500.0 No
Sql Server 2008
Management Tools - Basic 1033 Express Edition
10.0.1600.22 No
Package properties:
Description: SQL Server Database Services 2008 R2
ProductName: SQL Server 2008 R2
Type: RTM
Version: 10
SPLevel: 0
Installation location: H:\x64\setup\
Installation edition: ENTERPRISE
User Input Settings:
ACTION: Upgrade
AGTDOMAINGROUP: <empty>
BROWSERSVCSTARTUPTYPE: Disabled
CONFIGURATIONFILE: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20150406_210629\ConfigurationFile.ini
CUSOURCE:
ENU: True
ERRORREPORTING: True
FAILOVERCLUSTERROLLOWNERSHIP: 2
FARMACCOUNT: <empty>
FARMADMINPORT: 0
FARMPASSWORD: *****
FTSVCACCOUNT: <empty>
FTSVCPASSWORD: *****
FTUPGRADEOPTION: Import
HELP: False
IACCEPTSQLSERVERLICENSETERMS: False
INDICATEPROGRESS: False
INSTANCEID: SQLEXPRESS
INSTANCENAME: SQLEXPRESS
ISSVCACCOUNT: NT AUTHORITY\NetworkService
ISSVCPASSWORD: *****
ISSVCSTARTUPTYPE: Automatic
PASSPHRASE: *****
PCUSOURCE:
PID: *****
QUIET: False
QUIETSIMPLE: False
RSCATALOGSERVERINSTANCENAME: Unknown
RSUPGRADEDATABASEACCOUNT:
RSUPGRADEPASSWORD: *****
SQLDOMAINGROUP: <empty>
SQMREPORTING: False
UIMODE: Normal
X86: False
Configuration file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20150406_210629\ConfigurationFile.ini
Detailed results:
Feature: Database Engine Services
Status: Passed
MSI status: Passed
Configuration status: Passed
Feature: SQL Writer
Status: Passed
MSI status: Passed
Configuration status: Passed
Feature: SQL Browser
Status: Passed
MSI status: Passed
Configuration status: Passed
Feature: SQL Server Replication
Status: Passed
MSI status: Passed
Configuration status: Passed
Feature: SQL Compact Edition Tools
Status: Passed
MSI status: Passed
Configuration status: Passed
Feature: Management Tools - Basic
Status: Passed
MSI status: Passed
Configuration status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20150406_210629\SystemConfigurationCheck_Report.htm
PARTIAL MSI LOG BELOW
Action start 21:13:47: AppSearch.
MSI (s) (40:00) [21:13:47:914]: Note: 1: 1325 2: v2.0.50727
MSI (s) (40:00) [21:13:47:914]: Note: 1: 1325 2: EventLogMessages.dll
MSI (s) (40:00) [21:13:47:914]: PROPERTY CHANGE: Adding ASPNET_EVENTLOGDLL property. Its value is 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\EventLogMessages.dll'.
MSI (s) (40:00) [21:13:47:915]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\\Setup 3: 2
MSI (s) (40:00) [21:13:47:915]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{FBD367D1-642F-47CF-B79B-9BE48FB34007} 3: 2
MSI (s) (40:00) [21:13:47:915]: PROPERTY CHANGE: Adding INSTALLSQLSHAREDDIR_32 property. Its value is 'C:\Program Files (x86)\Microsoft SQL Server\'.
MSI (s) (40:00) [21:13:47:916]: PROPERTY CHANGE: Adding INSTALLSQLSHAREDDIR_64 property. Its value is 'C:\Program Files\Microsoft SQL Server\'.
MSI (s) (40:00) [21:13:47:916]: PROPERTY CHANGE: Adding DEVENV_IDE8 property. Its value is 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\'.
MSI (s) (40:00) [21:13:47:917]: PROPERTY CHANGE: Adding SQLSETUPARPWRAPPER property. Its value is 'C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Release\x64\SetupARP.exe'.
MSI (s) (40:00) [21:13:47:917]: Doing action: RestoreSetupParams_64
Action ended 21:13:47: AppSearch. Return value 1.
MSI (s) (40:00) [21:13:47:920]: Note: 1: 2235 2: 3: ExtendedType 4: SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'RestoreSetupParams_64'
MSI (s) (40:C0) [21:13:47:921]: Invoking remote custom action. DLL: C:\Windows\Installer\MSICCED.tmp, Entrypoint: RestoreSetupParams
Action start 21:13:47: RestoreSetupParams_64.
<Func Name='LaunchFunction'>
Function=RestoreSetupParams
<Func Name='SetCAContext'>
<EndFunc Name='SetCAContext' Return='T' GetLastError='203'>
Doing Action: RestoreSetupParams
PerfTime Start: RestoreSetupParams : Mon Apr 06 21:13:47 2015
<Func Name='RestoreSetupParams'>
Error Code: 0x80077381 (29569)
Windows Error Text: Source File Name: sqlca\sqlcax.cpp
Compiler Timestamp: Thu Jul 3 22:23:09 2008
Function Name: RestoreSetupParams
Source Line Number: 190
Error Code: 29569
MSI (s) (40!D0) [21:13:51:016]: Product: Microsoft SQL Server 2008 Database Engine Services -- Error 29569. SQL Server Setup failed to restore the instance id.
Error 29569. SQL Server Setup failed to restore the instance id.
<Failure Type='Fatal' Error='29569'>
<EndFunc Name='LaunchFunction' Return='29569' GetLastError='203'>
CustomAction RestoreSetupParams_64 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)Hello,
You shared with us the following lines part of one of the logs created during the upgrade process:
Error Code: 29569
MSI (s) (40!D0) [21:13:51:016]: Product: Microsoft SQL Server 2008 Database Engine Services -- Error
29569. SQL
Server Setup failed to restore the instance id.
These lines are associated with Registry corruption. If this instance is a production instance, please call Microsoft Support for help.
For more information, please read the answer provided by Cathy Miller (MSFT) on the following thread.
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/15a67403-3e67-47cd-8595-4330945bd6cc/sql-server-2008-sp2-update-fails-error-29569-sql-server-setup-failed-to-restore-the-instance-id?forum=sqlsetupandupgrade
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Upgrade from SQL server developer 2008 R2 to SQL Server developer 2012
Hi,
We have bought 5 licenses of SQL server developer 2012.
This licenses provided us an option to use SQL server 2008 R2. And we have been using 2008 R2 till now.
But now we want to upgrade to SQL server developer 2012 edition
I want to know the process for up-gradation. When I looked at the licensing portal, it says "This product does not require a product key"
My questions are:
1) Should I download the 2012 version from licensing center and pass the downloaded copy to respective team members?
2) Can the team member download the SQL server 2012 developer edition from Microsoft site and install it on their machines?
3) Do we need to first un-install 2008 R2?
4) How the licensing can be managed in cases of products which say "This product does not require a product key.", i.e. how can I make sure that no more than 5 installations are done by the team
ThanksHi,
We have bought 5 licenses of SQL server developer 2012.
This licenses provided us an option to use SQL server 2008 R2. And we have been using 2008 R2 till now.
But now we want to upgrade to SQL server developer 2012 edition
I want to know the process for up-gradation. When I looked at the licensing portal, it says "This product does not require a product key"
My questions are:
1) Should I download the 2012 version from licensing center and pass the downloaded copy to respective team members?
2) Can the team member download the SQL server 2012 developer edition from Microsoft site and install it on their machines?
3) Do we need to first un-install 2008 R2?
4) How the licensing can be managed in cases of products which say "This product does not require a product key.", i.e. how can I make sure that no more than 5 installations are done by the team
Thanks
1. Developer edition has license associated with it .And yes you can download it if you have subscription.But please be informed that you cannot use Developer edition in production,its not allowed and illegal.
2.You can upgarde from SQL server 2008 R2 to 2012 developer edition by Inplace upgrade method ,you can also follow side by side approach.For side by side approach you have to get new box ,intall OS,then install SQL server 2012 ,move logins and jobs and move
databases by backup restore.You must see supported upgrades
http://technet.microsoft.com/en-us/library/ms143393(v=sql.110).aspx
3.No not ins any case ,please dont do that
4.Licensing question should best be asked with Microsoft licensing expert.
reg process of upgarde first run upgrade advisor and look for error if any.Then run SQL server 2012 setup and in maintenance section select edition upgrade,other process is same as SQL Server installtion
http://www.mssqltips.com/sqlservertip/2505/version-and-edition-upgrades-with-sql-server-2008-r2/
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Migration from SQL SERVER 2008 to Oracle 10g issues.
Hi ,
I'm trying to migrate from SQL Server 2008 to Oracle 10g and I end up with some issues that I wanted to ask some info about it.
First, I was following a tutorial
http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
and and in the last version of Oracle SQL developer I downloaded, I didn't find the Load Database Capture Script Output option.
My first question is how can I either add this option or is there a new way to load the capture script ?
Then I use the migration wizard and after following everything, I had the migration complete message from the application.
When I tried to open my connectionss, it tells me version 11.2 is required. Does that mean that Oracle SQL developper 3 only
do the migration for oracle 11g? And if I tried the previous versions, it doesn't support SQL server 2008.
What do I do in this case ?
Thanks !Thank you for your reply.
After using the wizard and made the offline migration script, in the Migration projects window I made a move data to the oracle connection I previously made and after when I tried to reopen the connection, I couldn't.
Well I didn't retry it yet to see if I'll have the same behavior but basically this is what I think I did. When I tried to open the connection I made, it says, Oracle 11.2 is required.
Now, I just generate target from the convert model and it says migration complete but how do I test it and I do I go to oracle and see change ?
Do I had to create a special user in SQL Server to log to it first ? How do I logon to it ?
Edited by: 873671 on Jul 20, 2011 7:03 AM
Edited by: 873671 on Jul 20, 2011 7:19 AM -
Hi All ,
want to know what is improvement in FILEstram storage feature from SQL SERVER 2008 to SQL SERVER 2014
Regards,
ManishHello Manish,
See
What's New in SQL Server 2012
What's New in SQL Server 2014
Nothing really new around that feature.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Upgrade from SQL Server 2005 to SQL Server Express 2014 Enterprise
I was just wondering if it is possible to upgrade from SQL Server 2005 to SQL Server Express or will I have to build the environment and then migrate the database?
Thanks for any helpHi Lance_Romance,
As others’ posts, you don’t have to build new environment and then migrate databases between SQL Server instances, you can use the in-place upgrade strategy to upgrade from SQL Server 2005 to SQL Server 2014 .Please note that SQL Server 2005 SP4 is required
in this case.
Before upgrading , I recommend you to use
upgrade advisor, it can help to analyze your existing SQL Server deployment and inform you of issues that need to be addressed. In addition, please perform a full server backup prior to performing the in-place upgrade, which will be an important way
to revert your SQL Server to its previous state if the upgrade does not go as planned. For more details, please review this blog:
Upgrading to SQL Server 2014: A Dozen Things to Check.
Thanks,
Lydia Zhang -
Steps SSIS and SSAS Migration from sql server 2005 to 2012?
steps SSIS,SSRS and SSAS Migration from sql server 2005 to 2012? any precautions to take while migration.
any documentation or any specified steps.Hi Vijay,
According to your description, you want to migrate SQL Server Integration Services and SQL Server Analysis Services from SQL Server 2005 to SQL Server 2012.
For how to migrate SQL Server Integration Services, please refer to the article:
http://www.bidn.com/blogs/DevinKnight/ssis/2718/upgrading-packages-to-ssis-2012.
In addition, since the issue regards SQL Server Integration Services. I suggest you post the question in the SQL Server Integration Services forums at
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlintegrationservices.
For how to migrate SQL Server Analysis Services, please refer to this article:
http://www.codeproject.com/Articles/435703/Migration-from-SQL-server-to.
In addition, since the issue regards SQL Server Analysis Services. I suggest you post the question in the SQL Server Analysis Services forums at
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlanalysisservices. It is appropriate and more experts will assist you.
Regards,
Michelle Li -
Reports quit working after upgrade to SQL Server 2008
Folks,
I'm running Visual Studio 2008 (sp1) and recently upgraded to SQL Server 2008. Reports worked fine until after upgrade. Now I get the "Login Failed" error message.
Here is code snippets:
CrystalDecisions.CrystalReports.Engine.ReportDocument oReport = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
TableLogOnInfo LonOnInfo = new TableLogOnInfo();
TableLogOnInfos crtableLogoninfos = new TableLogOnInfos();
TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
private Tables crTables;
private Table crTable;
ConnectionInfo crConnectionInfo = new ConnectionInfo();
crConnectionInfo.IntegratedSecurity = true;
crConnectionInfo.ServerName = Properties.Settings.Default.InstanceName + "
Instance";
crConnectionInfo.DatabaseName = "DATABASE";
crTables = oReport.Database.Tables;
for (int i = 0; i < crTables.Count; i++)
crTable = crTables<i>;
crtableLogoninfo = crTable.LogOnInfo;
crtableLogoninfo.ConnectionInfo = crConnectionInfo;
crTable.ApplyLogOnInfo(crtableLogoninfo);
oReport.RecordSelectionFormula = xFormula;
crystalReportViewer1.ReportSource = oReport;
Has anyone had this problem? Any help would be appreciated.
TerryCR 2008 does not support MS SQL 2008 yet, meaning we have not had time to test it completely and add it to our supported platforms.txt file.
One thing I noticed is you are using trusted authenication:
crConnectionInfo.IntegratedSecurity = true;
Make sure you give access to all users, MS changed the security properties a lot since SQL 2005 and you can't simply log into any database now. If you have a DBA check with that person on how to configure NT Authentication or the Help file. You can also do a quick test and simply use MS SQL Server authentication to confirm if it's a user permission issue.
Try creating a report that doesn't use Integrated Security, check the box off on your data logon prompt in the Designer. -
How to delete the Folder from sql server 2008
Hi all,
I was trying to delete the folder from sql server 2008 with the below script
DECLARE @path VARCHAR(256) -- path for backup files
DECLARE @cmd VARCHAR(8000)
DECLARE @folderName VARCHAR(256) -- filename for backup
SET @folderName = + (CONVERT(varchar(10), GETDATE()-7, 112)) -- 7 days back date folder name
SET @path = 'I:\Backup_Test\' + @folderName -- Folder path
SET @cmd = 'del ' + @path -- Delete
EXEC master..xp_cmdshell @cmd
--Print @cmd
This is not working it was asking the Confirmation (I:\Backup_Test\20100629\*, Are you sure (Y/N)? ) what will i do to the delete the folder.
Thanks,
Prasad R.I would notice you that T-SQL does not play well to do things like that. Do not you want using .net language to delete folders?
Old method is
declare @HR int, @CFOLDER varchar(255),@FSO int
set @CFOLDER='D:\folder\'
EXEC @HR = sp_OACreate 'Scripting.FileSystemObject', @FSO OUT
EXEC @HR = sp_OAMethod @FSO, null, 'DeleteFolder', @CFOLDER
Now regarding to your second question please examine xp_fileexist system stored procedure
CREATE FUNCTION dbo.fn_file_exists(@filename VARCHAR(300))
RETURNS INT
AS
BEGIN
DECLARE @file_exists AS INT
EXEC master..xp_fileexist @filename, @file_exists OUTPUT
RETURN @file_exists
END
GO
-- test
SELECT dbo.fn_file_exists('c:\a.txt')
Best Regards, Uri Dimant SQL Server MVP http://dimantdatabasesolutions.blogspot.com/ http://sqlblog.com/blogs/uri_dimant/ -
Migration from SQL Server 2008 to Oracle 11g
Hi there,
I have a quick question, Anyone who have experienced to migration procedures,function from SQL Server 2008 to 11g R2. Is it possible? I migrated tables and views through Oracle heterogenious servinces but I am not sure about the fucntions and procedures.
Any help would be appreciated.
Warm regards,Automated conversions are possible. After these conversions the system will pretty much run. However, and it can be a pretty big HOWEVER, performance could well take a hit - which the uninitiated or SQL Server acolytes will seek to blame on Oracle not being very good. This is not actually the case.
You could be in for a major review and rewrite. Besides the syntax differences in the procedural languages, there is a huge - like really huge - difference in transaction control, isolation, and read consistency. Basically, keep in mind that Oracle reads do not block writes, writes do not block reads, and there are no dirty reads. Writes only block other writes. Thus, no coding 'tricks' are needed to get around these blockers. Oracle has global temporary tables that are generally used to help out those converting from SQL Server. In actuality, then are mostly not needed as you can almost always do your work in one SQL statement.
Read the concepts guide from cover to cover, then do it again, then start looking at what you need to do to convert your procedural code. -
Transfer tables from sql server 2008 to oracle 11g
Hi ,
I have to transfer 2-3 tables (5 Lacs records each) from sql server 2008 to oracle Ent. 11g (platform Linux)
i have to upload data with some conditions.
not allowed to install oracle client on sql server for link server. i can get data in csv file
which will be the best possible way
1) using Db link on oracle server
2) get data into csv file and load using SQL loader
3) get data into csv and load using external table
4) using tool - sql developer
Thanx,user10188639 wrote:
Hi ,
I have to transfer 2-3 tables (5 Lacs records each) from sql server 2008 to oracle Ent. 11g (platform Linux)
i have to upload data with some conditions.
not allowed to install oracle client on sql server for link server. i can get data in csv file
which will be the best possible way
1) using Db link on oracle server
2) get data into csv file and load using SQL loader
3) get data into csv and load using external table
4) using tool - sql developer
Thanx,
>which will be the best possible way
which metric measures best? is higher or lower value better?
How will you, I or anyone recognize which option is best solution? -
Read Money format from SQL Server 2008
Hi all,
i created a db link from oracle to sql server using Heterogeneous Connectivity, it works fine, i can read/write data from SQL Server 2008 but i can't read column with money format correctly, i got always a integer number.
Can anyone help me, please?
SergioHi Mark,
with the command
describe TEST@DL_SQLSERVER2008
i get the error :
Error: ORA-00904: "OBJECT_TYPE": invalid identifier
If i create a table :
CREATE TABLE TEMP AS (SELECT * FROM TEST@DL_SQLSERVER2008 );
the column of the table TEST with type MONEY is mapped to the type number(19,4)
With the query from SQL Server the output is :
Entita Serie Articolo Prezzo
1 AB 0207405 3,822
1 AB 0503019 3,60
1 AB 0509015 15,75
1 AB 0706015 1,96
1 AB 0810050 1,617
1 AB STANDARD 0,00
With the query from Oracle the output is :
Entita Serie Articolo Prezzo
1 AB 0207405 3
1 AB 0503019 3
1 AB 0509015 15
1 AB 0706015 1
1 AB 0810050 1
1 AB STANDARD 0
Thanks,
Sergio -
Have trouble query after creating a linked server from SQL Server 2008 to EXCEL 2007
I created a linked server from SQL Server 2008 Management Studio Express to an EXCEL 2007 workbook using:
sp_addlinkedserver @server='LSERVER_EX0', @srvproduct='EXCELDATA', @provider='Microsoft.ACE.OLEDB.12.0', @datasrc='C:\Temp\abc.xlsx', @provstr='EXCEL 12.0'
The linked server LSERVER_EX0 was created, but I cannot see any table(excel sheet), and when i ran the following to query tables,
sp_tables_ex 'LSERVER_EX0'
I got:Cannot obtain the schema rowset "DBSCHEMA_TABLES" for OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "LSERVER_EX0". The provider supports the interface, but returns a failure code when it is used.
Any hint why?
on another note, i was able to import the EXCEL sheets using the Import and Export Data wizard, but i cannot control the column data type and size in this way.Open management studio, goto "Server Objects"->"Linked Servers"->Providers, select the provider you use, right click it and in provider options, check "Allow inprocess".
Maybe you are looking for
-
Hi , I am working in upgradation project.When i execute transaction VA02,at item level all the batch fileds (in sale A tab) are missing(in ECC 6.0) as follows: Field description Field Na
-
Pls help. My Camera Raw, CS6 and Lightroom won't read the NEF files from D610.
I recently upgraded to Nikon D610 and the NEF files were not readable from my old version of Camera Raw, CS6 and Lightroom. So downloaded the recommended upgrades and I now have Camera Raw 8.4.0.199; Lightroom 5.3; CS6 13.01. But still did not read m
-
Where I can Find AelFred XML Parser for J2ME?
Hi, I need the Aelfred XML SAXParser to run MIDP applications. The actual url is www.microstar.com but the site is not avialable. If any body has an idea about the new URL? or if u have the aelfred parser kit for the J2ME API, then please send it bac
-
I'm pretty sure I already know the answer to this -- but will Xsan work with third-party storage (i.e a non-Xserve RAID)? I'm pretty sure as long as it's a certified Fibre Channel device that all is good. I just wanted to get feedback from those who
-
CS5 save for web color change problem
Hi Forum I've just started using PS CS5 on a new iMac, and I'm having some problems with save for web colors. If I save an image (for example a shape with a solid color) then add it to a site I'm making then test in Safari, then take a screenshot wi