Export SharePoint List data to SQL Server 2005 Database

Hello Everybody,
I am presently working on a project which handles much larger amount of data. The architecture of the application demands extracting records from the SharePoint (WSS 3.0) and insert into a SQL Server 2005 database. I need to run this job as daily basis. I am thinking of using SSIS (SQL Server Integration Service) for this purpose. But I am new to this technology and I'd like to know how effective this idea to do the job.
I'd also like to know more about SharePoint's ability to handle huge amount of data when it comes to Reporting.
thank you,
Arun

For Reporting Services, There are web parts available which can be used to render a reporting service report in sharepoint. I have also used a reporting service report directly using Page Viewer Web Part so displaying a reporting services report in sharepoint is very simple task. Important part is to transfer data from Sharepoint list to SQL 2005. so if you want to use SSIS package and there is only one or two list then approach is to write a simple query based on your list id and extract information from sharepoint content database from UserData table, since it is a read only operation so it can work this way. Another way to do it is to write a Sharepoint Timer JOB which runs on a defined schedule and will read your list values and will transfer to your SQL 2005, Another way could be to write your custom web service and write code to transfer from list to SQL 2005. Custom code you will write inside timer or web service will be same code so it is just a different shell you can say. in case of web service, use it in some other application as a regular web service.  
Let me know if you need further help, You did not mention how many list you have?
Regards,
BizWorld.

Similar Messages

  • Importing data from SQL Server 2005 database

    Dear Friends
    Scenario:
    We have built an application for which the database is SQL Server 2005.
    Now, we have planned to switch over to Oracle 8i database.
    There is a field with data type as Varchar(Max) – which can hold data with a maximum length of 231 characters (SQL Server 2005)
    In Oracle 8i, the Varchar2 max size 4000 bytes or characters.
    We want to import the data from SQL Sever 2005 database into Oracle 8i database.In the process, the value for the particular field whose data type set as Varchar(Max) in SQL Server 2005 and contains more than 4000 characters gets automatically truncated while importing into oracle.
    We want the entire characters stored in the field to be imported into oracle database.
    Please suggest solutions.
    Thanks and regards
    Bharath Kumar V

    Use CLOB if the data is purely text data. BLOB otherwise.
    But the question is why you want to switch over to an Oracle version which is de-supported by Oracle?

  • How to select data from Sql server 2005 database tableinto oracle database table

    Hi,
    I have table text1 in sql server database and text2 in oracle database (11g). Now how to move data from SQL Server table into oracle table. So please help me how to do it.
    Thanks a lot in advance.
    rk
    OS: Windows 7 professional

    Hi,
    you can use export/import wizard and specify sql server as a source and oracle as destination.
    I hope this is helpful.
    Please Mark it as Answered if it answered your question
    OR mark it as Helpful if it help you to solve your problem
    Elmozamil Elamir Hamid
    MCSE Data Platform
    MCITP: SQL Server 2008 Administration/Development
    MCSA SQL Server 2012
    MCTS: SQL Server Administration/Development
    MyBlog

  • Store sharepoint 2010 list data in sql server

    Hi,
    I want to store sharepoint list data to sql server database.
    SO can anyone guide how can i attach my sharepoint 2010 with sql server 2008.
    Please help to solve the issue.
    Thanks in advance.
    Regards
    Rajni

    Hi,
    The screenshot indicates that SharePoint Designer is crashing when trying to add new External Content Type.
    Remove the SharePoint Designer and reinstall it to check the result.
    Microsoft Business Connectivity Services (BCS) enables users to read and write data from external systems—through Web services, databases, and Microsoft .NET Framework assemblies—from within Microsoft SharePoint 2010 and Microsoft Office
    2010 applications.
    There are lots of blog articles showing how to configure BCS in SharePoint 2010. You can start from:
    Understanding Business Connectivity Services
    http://blogs.msdn.com/b/sharepointdev/archive/2011/12/26/understanding-business-connectivity-services.aspx
    Using Business Connectivity Services in SharePoint 2010
    http://msdn.microsoft.com/en-us/magazine/ee819133.aspx
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Can't see data in data tab - sql server 2005

    hello,
    i am connected to a sql server 2005 database (with jtds driver), the connection is ok, i see the tables but i can't see data in data tab.
    i have an error : incorrect syntax
    somebody can help me ?
    thank's in advance
    alex

    definitely. I was going to say, make sure you have the privileges to read data.
    From Microsoft SQL Server 2000 on, it is recommended that you are a member of the db_datareader - so that data in the database can be read
    Barry

  • Import data from Sql Server 2005

    We have a requirement where we need to import/access data from an Sql Server 2005 database into an Oracle 9i/10g database? Basically, the need is to create some link between Sql Server and Oracle database? In, case of two Oracle databases we could have used 'dblink' but how can we do the same in this case?
    Regards,
    Rup

    By using a feature called 'Heterogeneous Services' which interfaces with ODBC or oledb.
    Heterogeneous Services is documented in the 'Net administrators manual'.
    Sybrand Bakker
    Senior Oracle DBA

  • Inserting date from a jsp into sql server 2005 database

    Dear Friends.,
    i have a jsp page, in that there is a form with various user input fields. in that one field is date field. i tried to insert the date field into the sql server 2005 database. but it is not getting inserted into the database.
    when i tried by inserting one field to database, it is getting inserted. for all the fields its works fine, except the date field.
    i need hint or code to insert the date get from the jsp page to database.
    i am using a servlet to do all database related things. i.e making connections, executing prepared statement queries
    thanks
    sekar.

    The variable needs to be outside of the string to be recognized as a variable. You need to remove the variable from the string, then concatinate it onto the string (and concatinate any remaining string parts - the closing paren). For example:
    stmt.executeUpdate("INSERT INTO table VALUES ('test', " + companyID + ")");
    Hope that's clear enough and helps. Good luck on your thesis!
    jim

  • Get an image from a varbinary field in an SQL Server 2005 database

    Hi:
    In a varbinary(MAX) field of an SQL Server 2005 database I
    storage JPG images. I design a webservice that returns the
    following XML structure:
    Public Class IMAGEN
    Public ErrorConsulta As Long
    Public Imagen As Byte()
    End Class
    The response look like this:
    <FLEXOBTENERIMAGENResponse>
    <FLEXOBTENERIMAGENResult>
    <IMAGEN>
    <ErrorConsulta>0</ErrorConsulta>
    <Imagen>/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgH....</Imagen>
    </IMAGEN>
    </FLEXOBTENERIMAGENResult>
    </FLEXOBTENERIMAGENResponse>
    Where the node Imagen are thousands of caracters that
    represents the JPG image.
    How can I show this JPG in an Image control of a Flex Builder
    2 or 3?
    If you need more information please let me know.
    Thanx in advance.

    Assuming that you have text fields storing the Y N then on
    the output you
    have a code block like this
    <%
    If recordset.fields.item("wheelchair").value = "Y" then
    %>
    <img src="images/wheelchair.gif">
    <%End if%>
    However is your field is set to be a Yes/No type then the
    best way is to
    write the test like this
    If recordset.fields.item("wheelchair").value = TRUE then
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "Lancs" <[email protected]> wrote in message
    news:e6srl5$jul$[email protected]..
    > Using ASP/VBscript and Access
    > I'm making a page that dislays a listing of
    organisations (using Repeated
    > Regions) concerned with disabilities. I want to use
    images for symbols
    > that
    > indicate whether, for example, an organisation uses
    textphones, has
    > wheelchair
    > access, and the like. I'm using a form to add new
    records to the database.
    > I
    > want the form to allow users to select the applicable
    symbols using
    > checkboxes.
    > What code will allow the listing page to interpret a Y
    value as an image
    > path
    > and ignore a N value.
    > Thanks
    >

  • Migrating from MS SQL Server 2005 database to Oracle 10g

    Hello,
    I wanted the full procedure or steps to Migrate the MS SQL Server 2005 database to Oracle 10g. Is there a known procedure to do this or is there a tool which is used?
    I have not done migration of database from MS SQL Server to Oracle. Any help is appreciated. Thanks a lot for the time.
    Regards,
    RPS

    Wrong forum, go to the database forum!
    cu
    Andreas

  • How to set the CLASSPATH for an  Sql Server 2005 database... help me please

    Hello! Guys I want to access a Sql Server 2005 database from Java.I've downloaded the JDBC 2.0 driver from Microsoft.I've copied the sqljdbc4.jar file to C:\Java\jdk1.6.0_14\db\lib.And I've added this to the classpath C:\Java\jdk1.6.0_14\db\lib\sqljdbc4.jar.The classpath variable is defined as a user variable.Well the point is that I get that nasty exception:Exception in thread "main" java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver.So if you know how to help me,please do so.Thank you :)

    Hi Timo,
    My jdev version is 10.1.3.3.0, this is for R12. By PR i mean to say process request and PFR process form request in the controller.
    In the Process request of the controller, i am finding the checkbox bean and assigning the firepartialaction for it.
    Later in the process form request for the fired event, i am trying to handle the rendered property of the messagetextinput. Is this a right approach?
    my code below
    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
    OAMessageCheckBoxBean oamessagecheckboxbean = (OAMessageCheckBoxBean)oawebbean.findChildRecursive("X_FLAG");
    if(oamessagecheckboxbean != null)
    oapagecontext.writeDiagnostics(this, "Message check box Bean found:", 1);
    FirePartialAction firepartialaction = new FirePartialAction("change");
    oamessagecheckboxbean.setAttributeValue(PRIMARY_CLIENT_ACTION_ATTR, firepartialaction);
    oamessagecheckboxbean.setFireActionForSubmit("change", null, null, true);
    oapagecontext.writeDiagnostics(this, "setting fire event", 1);
    public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    super.processFormRequest(oapagecontext, oawebbean);
    oapagecontext.writeDiagnostics(this, "Inside Process Form Request", 1);
    if("change".equals(oapagecontext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    OAMessageTextInputBean bean = (OAMessageTextInputBean)oawebbean.findChildRecursive("X_NUMBER");
    if(bean!=null){
    bean.setRendered(Boolean.TRUE);}
    Thanks,
    Malar

  • Free  SQL server 2005 Database administration book

    Hi,
    From where we can download SQL server 2005 Database administration book
    Thanks & Regards,
    Raj

    Hi,
    This not the download forum for book, please don't post such query in this forum.
    if you have any basis related query then post it here.
    regards,
    kaushal

  • How do I configure Tuxedo 8.1 with SQL Server 2005 database?

    Hi,
    Currently using Tuxedo 8.1 (64bit) on SUN Solaris 8.
    1. I want to know whether I can configure a SQL Server 2005 database in my current Tuxedo domain?
    2. Are there any BEA useful links for examples?
    3. Known problems?
    Any other useful information
    Regards Sam

    Hi
    Thanks for your reply.
    I build the TLOG using following:
    tmadmin ?c
    crdl -b 500 -z c:\tuxedo\envs\sqlpoc\tlogs\TLOG
    tmadmin
    crlog -m simple     
    Built the TMS using the following:
    buildtms -v -r SQL_SERVER -o TMS_SQLSERVER
    When trying to boot the TMS_SQLSERVER, get the following error (TRACE is switched on):
    113626.W039133!TMS_SQLSERVER.exe.3180.3184.0: 08-08-2007: Tuxedo Version 8.1, 32-bit
    113626.W039133!TMS_SQLSERVER.exe.3180.3184.0: LIBTUX_CAT:262: INFO: Standard main starting
    113626.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:ia: { tpsvrinit(14, "C:\TUXEDO\envs\sqlpoc\bin\TMS_SQLSERVER.exe -C dom=simpapp -g 500 -i 30001 -u W039133 -U C:\TUXEDO\envs\sqlpoc\logs\ULOG -m 0 -A")
    113626.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:ia: { tpopen()
    113626.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:xa: { xa_open(0x90026c, 0, 0x0)
    113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:xa: } xa_open = -3
    113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: LIBTUX_CAT:466: ERROR: tpopen TPERMERR xa_open returned XAER_RMERR
    113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:ia: } tpopen = -1 [tperrno TPERMERR]
    113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: TRACE:ia: } tpsvrinit = -1 [tperrno TPERMERR]
    113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
    113632.W039133!TMS_SQLSERVER.exe.3180.3184.0: LIBTUX_CAT:300: ERROR: tlogopen: gptblopen: UNIX sys call error - 2
    113632.W039133!tmboot.3132.2844.-2: 08-08-2007: Tuxedo Version 8.1, 32-bit
    113632.W039133!tmboot.3132.2844.-2: CMDTUX_CAT:825: ERROR: Process C:\TUXEDO\envs\sqlpoc\bin\TMS_SQLSERVER.exe at simple failed with /T tperrno (TPERMERR - resource manager error)
    113632.W039133!TMS_SQLSERVER.exe.3284.3528.0: 08-08-2007: Tuxedo Version 8.1, 32-bit
    113632.W039133!TMS_SQLSERVER.exe.3284.3528.0: LIBTUX_CAT:262: INFO: Standard main starting
    113632.W039133!TMS_SQLSERVER.exe.3284.3528.0: TRACE:ia: { tpsvrinit(14, "C:\TUXEDO\envs\sqlpoc\bin\TMS_SQLSERVER.exe -C dom=simpapp -g 500 -i 30002 -u W039133 -U C:\TUXEDO\envs\sqlpoc\logs\ULOG -m 0 -A")
    Can anyone help?
    Thanks

  • Save .PSR to SQL Server 2005 database

    Hi all,
    I want to store certain invoice printouts in .psr format, into an SQL Server 2005 database so that the users can retrieve the psr and have the reports displayed. I am using PB 11.5.
    I can save it in an external file OK (using SaveAs - PSReport!).
    I am puzzled for the following.
    How to save it in the database.
    Also it would be more than 32kb so FileRead will have issues to create a single file (?).
    What is the best datatype to use for SQL Server?
    How do I retrieve it to use it? (FileRead and then create external file with FileWrite?)
    Has anyone done it before? Any recommendations, samples, guidelines are more than welcome!
    Thanx in advance!

    Hi Panos,
    Here's a proc I tested that inserts a blob into a table aaa(id uniqueidentifier pk, rpt varbinary(max))...
    CREATE PROCEDURE sp_aaa
       @blob varbinary(max)
    AS
    Declare @li_return_code int
    select @li_return_code    = 1
    BEGIN TRY
    insert aaa (id, rpt) values ( newid(), @blob)
    select @li_return_code
    END TRY
    BEGIN CATCH
    declare  @li_error_code integer,
        @li_error_line integer,
        @ls_error_proc varchar(40),
        @ls_error_msg nvarchar(2048)
    select @li_error_code = ERROR_NUMBER()
    select @ls_error_msg  = ERROR_MESSAGE()
    select @li_error_line  = ERROR_LINE()
    select @ls_error_proc = ERROR_PROCEDURE() + ' Line: ' + convert(varchar(4), @li_error_line)
    select @ls_error_msg = @ls_error_msg + char(13) + ' Proc: ' + @ls_error_proc + char(13) + ' Error Code: ' + convert(varchar(4), @li_error_code) + char(13) + ' Line: ' + convert(varchar(4), @li_error_line) + char(13);
    /* Rethrow the exception */ 
    THROW 51000, @ls_error_msg, 1
    END CATCH
    Here's the transaction object rpc declaration for the proc...
    function long sp_aaa(blob blob) RPCFUNC ALIAS FOR "dbo.sp_aaa"
    Here's the func that calls the rpc...
    integer li_ret
    TRY
    li_ret = this.sp_aaa( ab_blob)
      commit; 
    CATCH
    ( exception ex)
    li_ret = -1
    rollback;
    messagebox('DB ERROR', ex.getmessage())
    END TRY
    return li_ret
    Here's the call from the window...
    blob lb_blob
    integer li_rtn, li_filenum
    long ll_bytes
    string docpath, docname[]
    li_rtn = GetFileOpenName("Select File", docpath, docname[], "PSR", + "PSR Files (*.PSR),*.PSR," + "All Files (*.*), *.*", "", 18)
    IF li_rtn = 1 THEN
    li_filenum = FileOpen(docpath, StreamMode!)
    ll_bytes = FileReadEx(li_filenum, lb_blob)
    Fileclose(li_filenum)
    sqlca.of_insert_blob(lb_blob)
    END IF
    hth,
    Mark

  • Help with copying SP List data to SQL Server

    I need to read some data from a SP list and copy it to a table in SQL Server.
    Visual Studio  BIDS 2013. SharePoint 2010. Planning to migrate to 2013 this year. I tried to use the
    SP Data source/destination adapter with SSIS, but learned that I can't with Visual Studio 2013. I'm really looking for any way to read data from a SP list and import it into a SQL database (SQL 2014). Haven't found anything online that has worked for me the
    way they say it should (such as OData connection in SSIS). Maybe it's version issues.
    Does anyone have a solid step-by step to do this? I am not a C# developer...

    Hi,
    According to your description, my understanding is that you want to read SharePoint list data and copy it to SQL Server table.
    Hatim's option is a way to achieve it manually.
    If you want to do it automatically, I suggest you can create a console application to read SharePoint list using CAML Query and Client Object Model, Then use SqlConnection object to connect database, then you can insert record using SqlCommand object.
    Here are some detailed code demos for your reference:
    http://www.codeproject.com/Articles/399156/SharePoint-Client-Object-Model-Introduction
    https://msdn.microsoft.com/en-us/library/ms233812.aspx
    Thanks
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jerry Guo
    TechNet Community Support

  • Size of SQL Server 2005 Database for SAP B1 2005 B is heavy

    Hi all,
    In my company we are working with SAP B1 2005 B SP 25.
    Our Database is in SQL Server 2005. Its Size reaches 6 GB in less then two years periods.
    Can Any body guide me to reduce the size or how to maintain database. Can we split Database in SAP B1 ?
    Due to the size users getting less speed
    Awaiting your valuable guidance for the same.
    Best Regards,
    Chintesh Soni

    Hi Chintesh,
    I would advise caution doing any of the things suggested in SAP Note 548772. In particular, I strongly recommend you do NOT set auto-shrink on. This is a really bad idea on a production database and I can't understand why SAP would suggest it.
    Is it the data file that is 6GB or the overall size of the database (ie data and log files)? If your log file is large  then this can slow performance. I recommend setting up transaction log backups on an hourly basis. This is good practice and not only keeps the log file healthy but also gives you the option to recover your data to the last transaction log backup in the case of an emergency. If you don't want transaction log backups then do as the SAP note mentions and set the recovery model to simple and do a once-off truncation of the log file.
    Are you doing regular maintenance on the database (ie rebuilding indexes, updating statistics)? Are you monitoring fragmentation on the data drive and doing a defrag occasionally to keep the drive healthy?
    Kind Regards,
    Owen

Maybe you are looking for