Solved

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

Posted on 2016-08-01
10
35 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
  • 5
  • 5
10 Comments
 
LVL 14

Expert Comment

by:SneekCo
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 14

Expert Comment

by:SneekCo
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
 

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 14

Expert Comment

by:SneekCo
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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

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 14

Expert Comment

by:SneekCo
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 14

Expert Comment

by:SneekCo
ID: 41753037
Any luck?
0
 

Author Closing Comment

by:Shashank2235
ID: 41764163
NA
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
How much extra disk space I need for sql backup? 7 49
SQL JOIN 6 35
replication - alerts? 4 20
SQL JOIN + SUBQUERY? 3 6
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

758 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now