Deprecated: Function create_function() is deprecated in /home/ktskumar/public_html/wp-content/plugins/related-posts/init.php on line 418

SharePoint Database SQL Query Tips3

Now, we are going to retrive the file details from AllDocs Database. Which has the informations about the files stored in SharePoint List or Library. — Returns all document from all lists availabe in WebApplication SELECT AllDocs.Leafname AS FileName’,                   AllDOcs.Dirname AS ‘Folder Path’,                   AllLists.tp_Title AS ‘List Title’,                  Webs.Title AS ‘Web Title’ FROM AllDocs Read more…


SharePoint Database SQL Query Tips2

Today, we are going to see the query for returning Webs and Site Collections available in the Database (WebApplication). –Returns Total Number of Site Collections in WebApplication select  count(*) as ‘Total Site Collection’ from sites –Returns Root Site Title for each Site Collection available in WebApplication  select Title as ‘Root Web Title’, Read more…