Solved

What is the best way to pass sharepoint list data in sql tables?

Posted on 2016-08-01
10
49 Views
Last Modified: 2016-08-21
What is the best way to pass sharepoint list data in sql tables?I wnt to use SQL tables to store one of the list data in sharepoint
0
Comment
Question by:Shashank2235
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
10 Comments
 
LVL 17

Expert Comment

by:Walter Curtis
ID: 41737363
SharePoint has a service application name "Business Connectivity Service". It will probably do what you need it to do, and it is a code less process.

Good luck...
0
 

Author Comment

by:Shashank2235
ID: 41738815
Thanks Guys.But i want data to be updated in SQl when i update it in List.

Can "Business Connectivity Service" do that? i know it can ready data using external list.

IF data exceeeds more than 5K in sql table will BCS still be able to read it from SQl
0
 
LVL 17

Expert Comment

by:Walter Curtis
ID: 41738949
Having the same data in two places is never a good idea, but suppose it could be done. Again, never tried because that is not best practice design. There in no 5K limitation.

Good luck...
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 

Author Comment

by:Shashank2235
ID: 41738983
I have a list where data or information gets logged related to some  workflow and reports are built on that data on the list.Now that list data has exceed 5K .It is giving error in the list.So i am thinking or moving that data to SQL .But i am sure we can read data from sql using BCS but dont know if we can write or changes made to data in list will reflect in SQl.
0
 
LVL 17

Expert Comment

by:Walter Curtis
ID: 41739005
I see, you are not talking about a 5k file size, you are talking about the list threshold. A SharePoint list can hold millions of items, but out of the box it displays only the first 5k items returned in a query. There a few things you can do to work with that. First thing, you can increase that threshold in Central Administration. Depending upon your environment, you can increase that threshold to over 50k if need be. You can also, (and probably should),  optimize the query via various filters that limit the result set to the information you want to see, not just do a dump of all data.

You could also use metadata to classify the data in a way to keep performance high, get all the information you need for your reports and meet your needs.

Hope that helps...
0
 

Author Comment

by:Shashank2235
ID: 41739090
Thanks for the information .I am using Office 365 so cannot change the threshold.I have currently implemented views on indexed columns but in future it might happen that 5K records might occur in each View .I am not allowed to provide more than 4-5 views  .My client want 1 view where he can access all the information without much separation in Views and even the archival option is not allowed by client.So was thinking of moving it to SQL
0
 
LVL 17

Expert Comment

by:Walter Curtis
ID: 41739118
The move should be from Office 365 to real SharePoint :-)

Have a good one...
0
 

Accepted Solution

by:
Shashank2235 earned 0 total points
ID: 41739204
Haha.But Thats not an option for me because client want 365 only.Anyways Thanks for help
0
 
LVL 17

Expert Comment

by:Walter Curtis
ID: 41753037
Any luck?
0
 

Author Closing Comment

by:Shashank2235
ID: 41764163
NA
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question