Archive

Archive for April, 2011

Duplicate in arrary .net

Categories: Uncategorized

SQL Normalization


First Normal Form

no repeating groups
Eliminate duplicative columns from the same table.
Create separate tables for each group of related data and identify each row with a
unique column (the primary key).

An entity is in the first normal form if it contains no repeating groups. In relational
terms, a table is in the first normal form if it contains no repeating columns. Repeating
columns make your data less flexible, waste disk space, and make it more difficult to search
for data. In the telephone directory example in Figure 19, it appears that the name table
contains repeating columns, child1, child2, and child3.
Figure 19. Name Entity Before Normalization
You can see some problems in the current table. The table always reserves space on the disk
for three child records, whether the person has children or not. The maximum number of
children that you can record is three, but some of your acquaintances might have four or
more children. To look for a particular child, you have to search all three columns in every
row.
To eliminate the repeating columns and bring the table to the first normal form, separate
the table into two tables as Figure 20 shows. Put the repeating columns into one of the
tables. The association between the two tables is established with a primary-key and
foreign-key combination. Because a child cannot exist without an association in the name
table, you can reference the name table with a foreign key, rec_num.
Ref:http://publib.boulder.ibm.com/infocenter/idshelp/v10/index.jsp?topic=/com.ibm.ddi.doc/dd
i53.htm
.
———————
Second Normal Form (2NF)
Remove subsets of data that apply to multiple rows of a table and place them in separate
tables.
Create relationships between these new tables and their predecessors through the use of
foreign keys.

http://databases.about.com/od/specificproducts/a/2nf.htm
———————
Third Normal Form (3NF)
There are two basic requirements for a database to be in third normal form:
Already meet the requirements of both 1NF and 2NF
Remove columns that are not fully dependent upon the primary key.
http://databases.about.com/od/specificproducts/a/3nf.htm
——————————
Fourth Normal Form (4NF)
Finally, fourth normal form (4NF) has one additional requirement:
Meet all the requirements of the third normal form.
A relation is in 4NF if it has no multi-valued dependencies.
Remember, these normalization guidelines are cumulative. For a database to be in 2NF, it
must first fulfill all the criteria of a 1NF database.

============================================
http://myweb.brooklyn.liu.edu/gnarra/database/downloads/Normalization.pdf

Categories: Uncategorized

How to enable check-in, check-out, and versioning on a SharePoint document library


How to enable check-in, check-out, and versioning on a SharePoint document library
http://www.documentmanagementworkflowinfo.com/sharepoint-document-management/enable-check-in
-check-out-versioning-sharepoint-document-library.htm

To enable versioning on a SharePoint 2010 document library:

http://www.documentmanagementworkflowinfo.com/sharepoint-document-management/turn-on-version
ing-sharepoint-2010.htm
——————————————

Categories: Uncategorized

This view cannot be displayed because it exceeds the list view threshold (5000 items) enforced by the administrator

Categories: Uncategorized

permission levels in Sharepoint


By default, the following permission levels are available:
Limited Access : Includes permissions that enable users to view specific lists, document libraries, list items, folders, or
documents, without giving users access to all the elements of a site. You cannot edit this permission level directly.

Read : Includes permissions that enable users to view items on the site pages.

Contribute: Includes permissions that enable users to add or change items on the site pages or in lists and document libraries.

Design : Includes permissions that enable users to change the layout of site pages by using the browser or Microsoft
SharePoint Designer 2010.

Full Control: Includes all permissions.

Categories: Uncategorized

Default Groups


Visitors- Read:
Use this group to grant people Read permissions to the SharePoint site.

Members- Contribute:
Use this group to grant people Contribute permissions to the SharePoint site.

Owners- Full Control:
Use this group to grant people Full Control permissions to the SharePoint site.

Categories: Uncategorized

XML manipulation


The manipulation includes displaying, adding, editing, and deleting data from a single XML file using C#.
http://www.developer.com/net/csharp/article.php/3489611/Manipulate-XML-File-Data-Using-C.htm

http://www.w3.org/XML/1999/XML-in-10-points

Categories: Uncategorized