Recommended Way To Install Database Driven App.

Dec 19, 2003

I was wondering what everyones preferred way to install a database in an automated fashion is.. IE:





You have a webapp. It sdriven by SQL Server. You need to prompt the user for a server, username, password, and database. Once you have those, you execute thge scripts against the DB.





I've been using osql.exe. but heres the situation. The installer may be run from a system, which does not have the sql server client tools installed. Which will be a problem.





So, given the situation that the machine the application is being installed on, does not have the client tools installed. How would YOU execute the provided SQL script against a remote server.

View 4 Replies


ADVERTISEMENT

Recommended Owned Of A DataBase

Jan 18, 2002

Hi,
What are current thoughts about who should own a Database?
I see 3 possibilities:
1. The DOMAINAdministrator (person wo starts up the Server at Bootup)
2. 'sa', or
3. a person/user closely tied to the database.

reasons for each?

Thanks for your opinions.
MichaelG

View 1 Replies View Related

Recommended Daily Database Maintenance

Jun 29, 2006

Some of our databases have many transactions (a million or more) a day. I have read that every so often I need to rebuild indexes, update statictics for all tables (however that is done), and shrink the transaction logs.

I'm confused by all this. What are the daily recommended database maintennace steps steps for database "health" and how can they be done?

TIA,



barkingdog.

View 3 Replies View Related

Database Mirroring, Client Connections All ODBC So What Methods Are Recommended?

Jun 5, 2006

As stated in the subject I have a situation where if database mirroring is employed for either manual or automatic failover, all the client (including web connections) connections use ODBC not ADO, or OLEDB etc... so what methods are recommended? Client side redirect is not available so I could not employe the "Data Source =A; Failover Partner=B..." option.

Right now the method employed (pre database mirroring and basically employing log shipping on SQL 2000) is to have a DNS alias for the ODBC connection so that if the server were to change in a failover situation the DNS record would have to be altered, so that all the client connections would not have to be reconfigured.

Regards,

Dominic Baines

View 5 Replies View Related

DB Engine :: Recommended Size And File Growth For A Database And Log File?

Sep 22, 2015

What is the recommended size and file growth for a database and log file? We will be storing approx 10000 records a day.Currently we have the following:

CREATE DATABASE Dummy
ON 
PRIMARY
( NAME = Dummy_data,
    FILENAME = 'D:....DATADummy.mdf',
    SIZE = 250MB,
    FILEGROWTH = 25MB )
LOG ON
( NAME = Dummy_log,
    FILENAME = 'D:....DATADummy_log.ldf',
    SIZE = 50MB,
    FILEGROWTH = 5MB ) ;
GO

View 3 Replies View Related

Database Services Install Fails When Install SQL Server 2005 SP2

Aug 15, 2007

The error I got is:
Hotfix.exe has encountered a problem and needs to close. We are sorry for the inconvenience.

EventType : sqlsesetup P1 : sysdbupg.sql P2 : 0x7361
P3 : odbcstatement__execute_batch@sysdbupg.sql@3 P4 : 0x7361
P5 : lib_odbc_statement.h@91 P6 : unknown P7 : sql9 P8 : hotfix@
P9 : x86 P10 : 3042

Log Location: C:Program FilesMicrosoft SQL Server90Setup BootstrapLOGHotfixSQL9_Hotfix_KB921896_sqlrun_sql.msp.log
MSP Error: 29537 SQL Server Setup has encountered the following problem: [Microsoft][SQL Native Client][SQL Server]Cannot find the object 'dm_exec_query_resource_semaphores', because it does not exist or you do not have permission.. To continue, correct the problem, and then run SQL Server Setup again.

I tried to search internet, however, I couldn't get solution.

My SQL server 2005 is standard version, OS Windows server 2003 sp2, I am using Administrator account to install it.

Thanks a lot,

Rex

View 9 Replies View Related

Recommended Max Size Of 6.5 DB

May 31, 2002

I have a 6.5 database running on NT 4.0 that is approximately 43GB in used space. I am making a case to management for some sort of upgrade to the whole system.

What sizes of 6.5 databases would anyone consider more "risky"? Is 43GB large for 6.5 (my thought is that it is)?

Thanks,

Kurt Symanzik
Handleman Company

View 2 Replies View Related

Recommended DB Design

Feb 9, 2004

Let's say for instance that you have a group of tables that stores address information for different groups (i.e. Doctors, Patients, Providers, etc.) Would it be better to create each table to store the address information or create an Address table that would store this information with an Address type and a link back to each table?

I prefer the second choice, but am having a hard time convincing other devlopers to follow this route. Maybe if I have some input from a more experienced users group I can stress my point a little more effectively. Thanks in advance for any input you can provide.

View 2 Replies View Related

Two Approaches: Which One Is Recommended?

Jul 14, 2006

I need to import a CSV file with a few million records and 50 fields into a table. Only 1 column in the file needs to be transformed and a second column needs to be checked for data validity (e.g. don't want to let someone pass in 'CA' for an integer field.). Two approaches come to mind:

1. Use SSIS to read the file directly into the table, then apply t-sql to do a mass update to the single field that needs to be transformed. (with this approach it is not clear how to check the data valdity in each row via t-sql, though).

2. Use SSIS to import the file, 1 line at a time, transforming the data and checking its validity.as it goes. I suspect this approach will be much slower than that in 1) but I haven't tried it yet.

Which way do you think would be the fastest?



TIA,



barkingdog

View 3 Replies View Related

Recommended Books

Aug 22, 2005

Can somebody recoommend me books for sql server 2005. I am interested specially in CLR inside sql and Business Intelligence.   

View 4 Replies View Related

Recommended Architecture For One-Many

Jun 5, 2007



In a situation where one may have a single master SQL Server that ultimately needs to communicate information back down to 1000's of downstream servers, what is the recommended architectural approach?



It doesn't feel right to have to add 1K-5K routes to the master SQL Server. Is there a way to have the dowstream servers "broadcast" their existence to the master, so that new servers can be added and updates can happen seamlessly? Does this fall into a pub-sub scenario or is there a better way? And, if so, how to ensure an open conversation (so that one server doesn't miss information that all the other servers received)? Should the master dynamically create routes or better to rely on an open conversation initiated by the downstream server?

View 20 Replies View Related

Recommended File Locations?

Apr 23, 2001

I know I've seen documentation on this but I can't find it at the time. What's the recommended file locations for a SQL install.. System and Data on a RAID drive and logs on a separate drive that's mirrored..? Oh and if anyone has links to this info let me know also.

Thx!

View 4 Replies View Related

Recommended Books For SQL 2000?

Jul 20, 2001

I have a couple of years of light experience with SQL server. I'd like to start studying to take the SQL 2000 exams. I have a good test environment set up and I'm reading through the Books Online. Can anyone recommend a book or books that might be helpful for me? My end goal here is to pass the test in the near future, but I want to really learn SQL rather than just learn to pass the test.

Thanks,

Allie

View 1 Replies View Related

Recommended OS For Sql Server 2000

Nov 5, 2004

i was pondering getting a MCDBA certification. i want to learn everything about the OS i'd use, so i just wanted to get some feedback on whether to go with NT or server 2003, etc. and anyone here recommend even getting or not bothering with the certification?

View 2 Replies View Related

Recommended Replication Type

Jul 27, 2007

We are replicating data from server1 to server2. We expect the connection between servers to be reliable, but we can not always guarantee uptime on both ends. We do not need real-time data access on server2. What type of replication would be best? The downside we see to snapshot is that the data will be growing over time and that means the amount replicated will continue to grow. Can we setup transaction replication and then schedule the updates so it only replicates transactions since the last update? Does this present any problems if the connection is lost at any time between the servers? At this time, we will not be making any changes to the data on server2 so it does not need to be updated on server1.

View 7 Replies View Related

Sa Password Recommended For End User?

Aug 12, 2007

Hi,

I have a database app that deploys with sql 2005 express to each end-user. I would like to install sql 2005 express using Windows Authentication only. In this case, should I bother to set an sa password? And if I do set the sa password, how would I go about making sure that the sa password is different for every installation of sql express? Would it be recommended to save every end-user's sa password (possibly tens of thousands of passwords) just in case sql maintenance needs to be done on their computer? Any help would be greatly appreciated. Thanks!

View 6 Replies View Related

Why Nested Views Are Not Recommended?

Jul 23, 2005

I'm reading a book 'Professional SQL Server 2000 Programming' by RobertVieirathere is a recommendation: "stay away from building views based onviews"Why? What's so wrong with nested views?

View 2 Replies View Related

Recommended Oracle Provider

May 31, 2007

I have been using the Microsoft Oracle Provider (MSDAORA) up until I needed to work with CLOB data types in Oracle. As much as I hate to switch providers at this phase in the project, I can't use MSDAORA due to the CLOB limitation.



So, what other providers are available?



I know that there is a native Oracle provider (OraOLEDB.Oracle.1) that is supported in SSIS. Does anyone have any comments on this?



Are there other options for Oracle?



Any comments, feedback, etc appreciated.



Thanks,



Rick

View 3 Replies View Related

Recommended SQL-server Book?

Feb 19, 2008

Hi,

Could anyone recommend a good book on the SQL-Server, please? I need to understand how to retrieve data with select statements and commands. It is urgent!

TIA

View 1 Replies View Related

Recommended Stretagy For Bi-Directional SQL DB Synchronization

Jul 23, 2005

Hi,Our company is an independent Voice applications solution provider withnumber clients using our suite. We have a CT application suite which isrunning with Application Server and SQL Server 7 / 2000 as DB Enginesat the back end.The SQL server has two databases configured:Logging Database - Massive updates every second, the data growsrapidly,Configuration Database - Generally small-sized and updatedoccasionally.Now we want to have the reslience implemented on the server. We have tosynchronize the two databases 'real-timely' and in 'efficient'manner, so that if Primary server or its Databases gets unavailable,the users are seamlessly switched over to the Secondry server that willhave its own set of data updated and well synchronized.Typically, it can be explained as follows:1. We will have 2 database servers A - Primary (acting as publisher)and B - Secondary (acting as subscriber). Our application will beinitially connected to A.2. When A becomes unavailable (for whatever reason), the applicationwill fail-over to B.3. All the users will be switched to server B and the updates are beingdone accordingly without being replicated on Server A temporarily.4. When A is back on-line, A needs to be brought up-to-date with Bautomatically (In other words, I shouldn't have to manually export allthe data from B to A ).Our requirements are:- The system should support Bi-directional Synchronizationbetween both the servers for their set of databases (the logging andconfiguration).- There will be constant and heavy activity in LoggingDatabase, thus if one server gets down the data should be logged andmaintained as it is on second server and on fail-back no data-lossshould occur with minimum latency time.- There could be a scenario when a server fails-over for aweek's time, there will be constant logging each second! Once itfails-back the system should rapidly synchronize the data withoutnoticeable delay among the two server database sets.- The system should also work fine if certain amount ofrecords are purged over a time period.Our concern is, observing the above scenario, how any of your SQLserver replication strategy can help us achieve the requirements.ThanksJohn

View 4 Replies View Related

Recommended Method To Obtain SQLDataPath

Jul 20, 2005

I know the default data path on a SQL7 server is defined in theregistry key SQLDataPath. I want to be able to determine the defaultdata path in a VB.NET application on the local machine and remotemachines. Is using the Registry Class the best way to do that or isthere a SQL command that can tell me? I have read about xp_regread butI can't find it documented anywhere and I do not know what parameterlist it is expecting. I thought this path may be in an InformationSchema view, but I can't find it.Thanks for any help.

View 2 Replies View Related

Where To Use SQLCLR ? Data Access Is Not Recommended?

Sep 10, 2006

Just wondering which scenarios is suitable to use SQLCLR. Any kind of data access is not recommended I guess. Only things that cannot be easily done in TSQL should be done in SQLCLR but why? Can't those things be done in app layer itself? Scenarios recommended for SQL CLR:
- External data access like filesystem, registry etc
- Complex calculation
- Recursion without data access (this can be implemented with CTE for data access)

If data access with SQL CLR is not recommended why should CLR should be even used and logic reside in database layer.. it makes no sense to me. Any thoughts??

View 19 Replies View Related

Looking For Recommended Approach To Merging Records

Aug 16, 2006

I am trying to create a dimension table and I am pulling in data from two tables to create it. I need all records from table A, any records from table B that are not in table A, and I need to use the fields from B for those records that do match. What would be the best way to approach this, merge join + derived columns, union all + aggrigation? Any suggestions?

It seems like it's harder to do this in ssis rather then just doing it in the database.

View 1 Replies View Related

Recommended Naming Convention For Tables/columns

May 9, 2008

I did a search (google and on the forums) and found a few suggestions here and there, but I'd like something more complete to follow as far as naming conventions are concerned.

I wrote my first DB based on MySQL/Ruby/Active Record type naming convention...

- plural table names
- all lower cased
- underscores between words
- "id" is auto incrementer for each table
- something+"_at" is for datetime fields
- something+"_on" is for date fields
- referencing the primary id in another table is "tablename (singular)" + "_id".

This worked great in Ruby/MySQL, but in C#/SQL Server, its an ambiguity nightmare! All of my "id" fields conflict and alot of my tables have "added_at" datetime fields and they all conflict with each other. Essentially, any field that's named the same in one table as in another conflict on joins.

For example: users post comments to stories submitted by users...

table = articles
field 1 = id
field 2 = title
field 3 = body
field 4 = user_id

table = comments
field 1 = id
field 2 = title
field 3 = body
field 4 = user_id
field 5 = article_id

Trying to join these two tables is an ambiguity nightmare but I'd like to not have to name every field uniquely or start adding table prefixes to them all...

I guess I just need some good suggestions or links to recommended table structure/naming conventions for SQL Server. Thanks in advance!

View 3 Replies View Related

SQL Server Integration Services - Recommended Reading?

Jun 7, 2007

Hi,



I'm new to SSIS.



Is there any recommended reading material that you suggest to learn more how SSIS works?



Thank you!

View 1 Replies View Related

SSIS Package Recommended Storage Msdb Or XML

May 7, 2007

We have just started using SQL 2005 and released our first few projects to prodcution. We are currently using msdb storage for SSIS packages in production using the 'rely on server storage' for protection level and separating each subject areas by folders under msdb in the management studio.



However some of our DBA's feel that this is not the right approach and we should be storing as XML.



Anyone has any recommendation for either or considerations to be taken when deciding what storage to use?



Thanks!

View 1 Replies View Related

Recommended Setup For NIC Heartbeats / Mirroring Traffic

Jun 6, 2007

Would anyone have a suggestion on how to setup a partner to partner NIC configuration for heartbeats/mirroring traffic? I've been told this is the recommended setup but have not found much on how to do it. We currently have a teamed NIC config for redundancy, but would like to have a separate set of NICs on each partner so that mirroring traffic is not interrupted by any regular network traffic.



We also have a witness running in full safety mode. Does this mean partnerA and partner B both need NICs with a crossover cable between them AND is it recommended for the witness to also have extra NICs to both partnerA and partnerB (w/ crossover cables)?



Any suggestions/help/links on properly configuring this would be appreciated.

View 1 Replies View Related

Recommended Data Type For Price (Can Enter TBA && Money)

Jun 9, 2007

 what is the recommended data type i should use if i want to have a price field that can include "TBA". i can't use smallmoney i suppose, so i should use VARCHAR then validate the String with Visual Studio?

View 1 Replies View Related

How Many Remote Connections Are Recommended (or... When Should I Consider Upgrading To 200X Standard)

May 22, 2008

I have an app that will have up to 13 PC's. Each machine will be logging data to the 200X Express Server every 5 seconds. The data size sent each time will be around 1K each.

1. Is this within the limits of 200X Express?
2. At what point do you decide that Express is bottlenecked and Standard is needed?

Thanks for any help!

Ron Lindsey

View 10 Replies View Related

How Do I Create A Database Wizard To Install My Database Anywhere

Nov 9, 1999

Hi.. i have created a project which uses SQL 7 as a database and have finished it. MY supervisor wants me
to create a wizard that will be able to install the database on any NT 4.0 machine. How do i start and go about doing
it

Please help
thanks

View 1 Replies View Related

Cannot Install Database Diagrams On AdventureWorks Database

Jun 11, 2007

Error Message: Database diagram support objects cannot be installed because this database does not have a valid owner.



How do I create a valid owner for the database?

View 4 Replies View Related

Trying To Install The An SQL Database

Aug 17, 2006

I have this CD that has a database called Contacts on it and everytime I try to insatll it I get the same errors.  I'm trying to install it from the D: driveThis is what is to be ran in Query Analyzer

/****** Object: 
Database Contacts    Script Date:
3/7/2002 1:52:44 PM ******/

IF EXISTS (SELECT name FROM master.dbo.sysdatabases WHERE
name = N'Contacts')

            DROP
DATABASE [Contacts]

GO

 

CREATE DATABASE [Contacts] 
ON (NAME = N'Contacts_Data', FILENAME = N'MCSDWebAppschapter05Contacts.MDF'
, SIZE = 2, FILEGROWTH = 10%) LOG ON (NAME = N'Contacts_Log', FILENAME =
N'MCSDWebAppschapter05Contacts.LDF' , SIZE = 1, FILEGROWTH = 10%)

 COLLATE
SQL_Latin1_General_CP1_CI_AS

GO

 

exec sp_dboption N'Contacts', N'autoclose', N'false'

GO

 

exec sp_dboption N'Contacts', N'bulkcopy', N'false'

GO

 

exec sp_dboption N'Contacts', N'trunc. log', N'false'

GO

 

exec sp_dboption N'Contacts', N'torn page detection',
N'true'

GO

 

exec sp_dboption N'Contacts', N'read only', N'false'

GO

 

exec sp_dboption N'Contacts', N'dbo use', N'false'

GO

 

exec sp_dboption N'Contacts', N'single', N'false'

GO

 

exec sp_dboption N'Contacts', N'autoshrink', N'false'

GO

 

exec sp_dboption N'Contacts', N'ANSI null default', N'false'

GO

 

exec sp_dboption N'Contacts', N'recursive triggers',
N'false'

GO

 

exec sp_dboption N'Contacts', N'ANSI nulls', N'false'

GO

 

exec sp_dboption N'Contacts', N'concat null yields null',
N'false'

GO

 

exec sp_dboption N'Contacts', N'cursor close on commit',
N'false'

GO

 

exec sp_dboption N'Contacts', N'default to local cursor',
N'false'

GO

 

exec sp_dboption N'Contacts', N'quoted identifier', N'false'

GO

 

exec sp_dboption N'Contacts', N'ANSI warnings', N'false'

GO

 

exec sp_dboption N'Contacts', N'auto create statistics',
N'true'

GO

 

exec sp_dboption N'Contacts', N'auto update statistics',
N'true'

GO

 

use [Contacts]

GO

 

/****** Object:  Table
[dbo].[Calls]    Script Date: 3/7/2002
1:52:49 PM ******/

if exists (select * from dbo.sysobjects where id =
object_id(N'[dbo].[Calls]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)

drop table [dbo].[Calls]

GO

 

/****** Object:  Table
[dbo].[Contact Types]    Script Date:
3/7/2002 1:52:49 PM ******/

if exists (select * from dbo.sysobjects where id =
object_id(N'[dbo].[Contact Types]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)

drop table [dbo].[Contact Types]

GO

 

/****** Object:  Table
[dbo].[Contacts]    Script Date: 3/7/2002
1:52:49 PM ******/

if exists (select * from dbo.sysobjects where id =
object_id(N'[dbo].[Contacts]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)

drop table [dbo].[Contacts]

GO

 

/****** Object:  User
ASPNET    Script Date: 3/7/2002 1:52:45
PM ******/

if not exists (select * from dbo.sysusers where name =
N'ASPNET' and uid < 16382)

            EXEC
sp_grantdbaccess N'ASPNET', N'ASPNET'

GO

 

/****** Object:  User
dbo    Script Date: 3/7/2002 1:52:45 PM
******/

/****** Object:  User
ASPNET    Script Date: 3/7/2002 1:52:45
PM ******/

exec sp_addrolemember N'db_accessadmin', N'ASPNET'

GO

 

/****** Object:  User
ASPNET    Script Date: 3/7/2002 1:52:45
PM ******/

exec sp_addrolemember N'db_backupoperator', N'ASPNET'

GO

 

/****** Object:  User
ASPNET    Script Date: 3/7/2002 1:52:45
PM ******/

exec sp_addrolemember N'db_datareader', N'ASPNET'

GO

 

/****** Object:  User
ASPNET    Script Date: 3/7/2002 1:52:45
PM ******/

exec sp_addrolemember N'db_datawriter', N'ASPNET'

GO

 

/****** Object:  User
ASPNET    Script Date: 3/7/2002 1:52:45
PM ******/

exec sp_addrolemember N'db_ddladmin', N'ASPNET'

GO

 

/****** Object:  User
ASPNET    Script Date: 3/7/2002 1:52:45 PM
******/

exec sp_addrolemember N'db_denydatareader', N'ASPNET'

GO

 

/****** Object:  User
ASPNET    Script Date: 3/7/2002 1:52:45
PM ******/

exec sp_addrolemember N'db_denydatawriter', N'ASPNET'

GO

 

/****** Object:  User
ASPNET    Script Date: 3/7/2002 1:52:45
PM ******/

exec sp_addrolemember N'db_owner', N'ASPNET'

GO

 

/****** Object:  User
ASPNET    Script Date: 3/7/2002 1:52:45
PM ******/

exec sp_addrolemember N'db_securityadmin', N'ASPNET'

GO

 

/****** Object:  Table
[dbo].[Calls]    Script Date: 3/7/2002
1:52:51 PM ******/

CREATE TABLE [dbo].[Calls] (

            [CallID]
[int] NOT NULL ,

            [ContactID]
[int] NOT NULL ,

            [CallDate]
[datetime] NULL ,

            [CallTime]
[datetime] NULL ,

            [Subject]
[nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [Notes]
[ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL

) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO

 

/****** Object:  Table
[dbo].[Contact Types]    Script Date:
3/7/2002 1:52:55 PM ******/

CREATE TABLE [dbo].[Contact Types] (

            [ContactTypeID]
[int] NOT NULL ,

            [ContactType]
[nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL

) ON [PRIMARY]

GO

 

/****** Object:  Table
[dbo].[Contacts]    Script Date: 3/7/2002
1:52:55 PM ******/

CREATE TABLE [dbo].[Contacts] (

            [ContactID]
[int] NOT NULL ,

            [FirstName]
[nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [LastName]
[nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [Dear]
[nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [Address]
[nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [City]
[nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [StateOrProvince]
[nvarchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [PostalCode]
[nvarchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [Region]
[nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [Country]
[nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [CompanyName]
[nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [Title]
[nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [WorkPhone]
[nvarchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [WorkExtension]
[nvarchar] (20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [HomePhone]
[nvarchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [MobilePhone]
[nvarchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [FaxNumber]
[nvarchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [EmailName]
[nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [Birthdate]
[smalldatetime] NULL ,

            [LastMeetingDate]
[smalldatetime] NULL ,

            [ContactTypeID]
[int] NULL ,

            [ReferredBy]
[nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [Notes]
[ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,

            [ContactsInterests]
[nvarchar] (255) COLLATE SQL_Latin1_General_CP1_CI_AS NULL

) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]

GO

 

ALTER TABLE [dbo].[Calls] WITH NOCHECK ADD

            CONSTRAINT
[PK__Calls__59063A47] PRIMARY KEY 
CLUSTERED

            (

                        [CallID]

            )  ON [PRIMARY]

GO

 

ALTER TABLE [dbo].[Contact Types] WITH NOCHECK ADD

            CONSTRAINT
[PK__Contact Types__5AEE82B9] PRIMARY KEY 
CLUSTERED

            (

                        [ContactTypeID]

            )  ON [PRIMARY]

GO

 

ALTER TABLE [dbo].[Contacts] WITH NOCHECK ADD

            CONSTRAINT
[PK__Contacts__5CD6CB2B] PRIMARY KEY 
CLUSTERED

            (

                        [ContactID]

            )  ON [PRIMARY]

GO

 

GRANT  REFERENCES
,  SELECT ,  UPDATE , 
INSERT ,  DELETE  ON [dbo].[Calls]  TO [ASPNET]

GO

 

GRANT  REFERENCES
,  SELECT ,  UPDATE , 
INSERT ,  DELETE  ON [dbo].[Contact Types]  TO [ASPNET]

GO

 

GRANT  SELECT  ON [dbo].[Contacts]  TO [public]

GO

 

GRANT  REFERENCES
,  SELECT ,  UPDATE , 
INSERT ,  DELETE  ON [dbo].[Contacts]  TO [ASPNET]

GO

 

 

INSERT Contacts VALUES (1, 'Kim', 'Abercrombie', 'Ms.',
'1234 Lone Dr.', 'Mobile', 'AL', '999999', NULL, 'USA', 'Wide World Importers',
NULL, '(111) 555-1111', '999', '(111) 555-2222',NULL, NULL,'someone@microsoft.com'
, '8/3/1961', NULL, 1, NULL, NULL, 'Parasailing')

INSERT Contacts VALUES (2, 'Jay', 'Adams', 'Mr.', '631 Eagle
Rd.', 'Watertown', 'PA', '999999', NULL, 'USA', 'Fabrikam', NULL, '(111)
555-1112', '888', '(111) 555-2222',NULL, NULL,'someone@microsoft.com' ,
'4/1/1942', NULL, 3, NULL, NULL, NULL)

INSERT Contacts VALUES (3, 'Adam', 'Bar', 'Mr.', '55
Passaway Ave.', 'Boston', 'MA', '999999', NULL, 'USA', 'Wide World Importers',
NULL, '(111) 555-1113', NULL, '(111) 555-2222',NULL, NULL,'someone@microsoft.com'
, '2/3/1965', NULL, 4, NULL, NULL, 'Fly fishing')

INSERT Contacts VALUES (4, 'Ido', 'Ben-Sachar', 'Mr.', '602A
Leeward Dr.', 'Sarasota', 'FL', '999999', NULL, 'USA', 'Wide World Importers',
NULL, '(111) 555-1114', '777', '(111) 555-2222',NULL,
NULL,'someone@microsoft.com' , '1/22/1960', NULL, 1, NULL, NULL, NULL)

INSERT Contacts VALUES (5, 'Bradley', 'Beck', 'Mr.', '44
Adams St.', 'Parkaway', 'NJ', '999999', NULL, 'USA', 'Adventure Works', NULL,
'(111) 555-1115', '333', '(111) 555-2222',NULL, NULL,'someone@microsoft.com' ,
'9/30/1959', NULL, 2, NULL, NULL, NULL)

INSERT Contacts VALUES (6, 'Karen', 'Berge', 'Mrs.', '205
Lone Dr.', 'Mobile', 'AL', '999999', NULL, 'USA', 'Wide World Importers', NULL,
'(111) 555-1116', NULL, '(111) 555-2222',NULL, NULL,'someone@microsoft.com' ,
'6/7/1960', NULL, 3, NULL, NULL, 'Windsurfing')

INSERT Contacts VALUES (7, 'Scott', 'Bishop', 'Dr.', '8898
Lipshaw Blvd.', 'Paradise', 'OR', '999999', NULL, 'USA', 'Wide World
Importers', NULL, '(111) 555-1117', '555', '(111) 555-2222',NULL,
NULL,'someone@microsoft.com' , '11/23/1961', NULL, 1, NULL, NULL, NULL)

INSERT Contacts VALUES (8, 'Pat', 'Coleman', 'Ms.', 'Rte 3
Highway 99', 'Circle City', 'AZ', '999999', NULL, 'USA', 'Fabrikam', NULL,
'(111) 555-1118', '87', '(111) 555-2222',NULL, NULL,'someone@microsoft.com' ,
'10/13/1970', NULL, 2, NULL, NULL, 'Skiing')

INSERT Contacts VALUES (9, 'Jane', 'Clayton', 'Ms.', '2
Wyldflower Ln.', 'Boulder', 'CO', '999999', NULL, 'USA', 'Wide World
Importers', NULL, '(111) 555-1119', '22', '(111) 555-2222',NULL,
NULL,'someone@microsoft.com' , '5/4/1961', NULL, 3, NULL, NULL, 'Hunting')

INSERT Contacts VALUES (10, 'Kari', 'Hensien', 'Ms.', '43
Stormwater Cr.', 'Indialantic', 'FL', '999999', NULL, 'USA', 'Adventure Works',
NULL, '(111) 555-1110', '0988', '(111) 555-2222',NULL,
NULL,'someone@microsoft.com' , '7/7/1959', NULL, 1, NULL, NULL, NULL)

INSERT Contacts VALUES (11, 'Don', 'Funk', 'Mr.', '55
Moccasin Wallow Dr.', 'Ernst', 'FL', '999999', NULL, 'USA', 'Fourth Coffee',
NULL, '(111) 555-1120', '111', '(111) 555-2222',NULL,
NULL,'someone@microsoft.com' , '3/15/1966', NULL, 1, NULL, NULL, NULL)



 

INSERT "Contact Types" VALUES(1, 'Business')

INSERT "Contact Types" VALUES(2, 'Social')

INSERT "Contact Types" VALUES(3, 'Friend')

INSERT "Contact Types" VALUES(4, 'Fishing buddy')

 

INSERT Calls VALUES(1,1,'3/3/2002', '12:00PM', 'Hosting
services', 'Return call with estimates')

INSERT Calls VALUES(2,3,'3/3/2002', '1:00PM', 'Trip to
Azores', 'Got lost on way. Needs directions.')

INSERT Calls VALUES(3,2,'2/1/2002', '10:00AM', 'Long call',
'A very, very long call.')

 

 

THIS IS THE ERRORS I KEEP GETTING

Server: Msg 5105, Level 16, State 2, Line 2

Device activation error. The physical file name
'MCSDWebAppschapter05Contacts.MDF' may be incorrect.

Server: Msg 1802, Level 16, State 1, Line 2

CREATE DATABASE failed. Some file names listed could not be
created. Check previous errors.

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 15010, Level 16, State 1, Procedure sp_dboption,
Line 70

The database 'Contacts' does not exist. Use sp_helpdb to
show available databases.

 

 

Server: Msg 911, Level 16, State 1, Line 2

Could not locate entry in sysdatabases for database
'Contacts'. No entry found with that name. Make sure that the name is entered
correctly.

Server: Msg 15007, Level 16, State 1, Procedure
sp_grantdbaccess, Line 97

The login 'ASPNET' does not exist.

Server: Msg 15410, Level 11, State 1, Procedure
sp_addrolemember, Line 66

User or role 'ASPNET' does not exist in this database.

Server: Msg 15410, Level 11, State 1, Procedure
sp_addrolemember, Line 66

User or role 'ASPNET' does not exist in this database.

Server: Msg 15410, Level 11, State 1, Procedure
sp_addrolemember, Line 66

User or role 'ASPNET' does not exist in this database.

Server: Msg 15410, Level 11, State 1, Procedure
sp_addrolemember, Line 66

User or role 'ASPNET' does not exist in this database.

Server: Msg 15410, Level 11, State 1, Procedure
sp_addrolemember, Line 66

User or role 'ASPNET' does not exist in this database.

Server: Msg 15410, Level 11, State 1, Procedure
sp_addrolemember, Line 66

User or role 'ASPNET' does not exist in this database.

Server: Msg 15410, Level 11, State 1, Procedure
sp_addrolemember, Line 66

User or role 'ASPNET' does not exist in this database.

Server: Msg 15410, Level 11, State 1, Procedure
sp_addrolemember, Line 66

User or role 'ASPNET' does not exist in this database.

Server: Msg 15410, Level 11, State 1, Procedure
sp_addrolemember, Line 66

User or role 'ASPNET' does not exist in this database.

Server: Msg 4604, Level 16, State 1, Line 2

There is no such user or group 'ASPNET'.

Server: Msg 4604, Level 16, State 1, Line 2

There is no such user or group 'ASPNET'.

Server: Msg 4604, Level 16, State 1, Line 2

There is no such user or group 'ASPNET'.

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

 

(1 row(s) affected)

 

I JUST WANT TO KNOW WHAT I NEED TO DO STEP FOR STEPTHIS IS MY FIRST TIME ON THIS FORUMCAN ANYONE HELP ME  OUT

View 2 Replies View Related

After The Install--Where Is The Database?

Apr 9, 2008

I installed SQL Server Express on Windows Vista with no errors. In the Program Group, the only 'choice' is the 'Microsoft SQL Server Management Studio Express' and when opened the 'Connect to Server' window appears. There are two choices:

Database Engine--but in the Server name field, the only choice is <Browse for More>
SQL Server Compact Edition--there is a choice for <New Database> but is the Compact Edition really SQL Server Express?

I want to upsize an Access 2007 backend to use the SQL Server Express database engine but...................

How do I create a database?

There is a step missing here. I've read several docs posted on the SQL Server Express webpage but just can't find this missing step.

I've installed and uninstalled SQL Server 5 Express several times to make sure there wasn't some step in the install where a 'first' database is installed.

I'm lost.

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved