Which version of SE? I believe all recent versions of SE also includes SQL Server Express to be used for data logging. All of this is outlined in the manuals that come with SE.
Setting up SQL Server really has nothing to do with SE.
The only SE interaction (and I'm not talking SQL Server Express, though it applies) is making sure the database has permissions for the SE System to access.
I USUALLY assign a database user (as opposed to a Windows Account Linked user) for at least the configuration of everything with SQL Server. If required, I'll later change to a Windows Authenticated user.
My normal procedure is:
Create a new database, with no tables.
Create a SQL User (WITH password).
Set the default database to the new one you created.
Give the SQL User (as a minimum) permissions on: db_datawriter, db_datareader, db_owner, and db_securityadmin.
Depending on what you need to do, you may or may not have to create an ODBC connection to the database. I do, for custom logging in SE's VBA.
For historical trending to the DB, you will need ODBC as well, the same connection will work.
For Alarms and Events logging, you can directly connect to the SQL Server, and it will create the tables for you.
If you fill out the first tab in (FTView) Project Explorer | System | Connections | Databases | FTAE_Historion correctly, it should connect and create the necessary tables in the database. If you didn't create a database manually before hand, FTAE historion will create the actual database as well, then add the required tables.
There really isn't any good documentation on any of this.
Data Log Models are temperamental at first, make sure permissions are correct, and watch everything going on with the error log in FTView and SQL Server.