Problem With Sample Databases
Feb 15, 2006
I have installed SQL Express 2005 together with VS 2005. After a while I found out that the sample databases (Northwind and Pubs) were missing, so I installed them. According to the 'Readme', which comes with the installation I could choose between attaching the db to the Server or running a SQL script.
Neither works. I've read this link about remote connections (http://blogs.msdn.com/sqlexpress/archive/2005/05/05/415084.aspx). My development machine is just a local single computer and I still get this error message:
'An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact under the default settings SQL Server does not allow remote connections.'
I' ve opened TCP/IP and Named Pipes and I get the same result when trying to connect from the Server Explorer in VS.
Thanks for your help.
View 5 Replies
ADVERTISEMENT
Oct 26, 2015
I have installed MS SQL Server 2014. When I try to attach the pubs database that I downloaded, I'm getting an error saying that its non-release version (539) is not supported by this version of SQL Server.
My question is: Is there a way that I can either get an updated version of the database from Microsoft, or update the one I have?
View 3 Replies
View Related
Mar 1, 2007
Hi
How do I install the sample databases Northwind and AdventureWorks?
I know there is a link on the Microsoft website, but does anyone know a step-by-step guide to actually get it on the database?
Thanks in advance!
View 2 Replies
View Related
Nov 30, 2007
Hello. I have a little problem .
I have SQL Server Express 2005 installed on my machine. As well as SQL Server Management Studio. For some practice, I also installed the AdventureWorks sample database and attached it to the Server. When I open SQL Server Management Studio it's right there, in the Object Explorer, sitting nicely along with the master database and so on.
Now, I have recently installed Visual C# Express 2008, in order to explore this exiting new thing called LINQ (Language Integrated Query) . To do so, I created a new Project (say, WPF or Console application), and once the project is up and running it would be nice to attach some data to it so we can query that data and learn about LINQ.
There is a problem, however. On the main menu, I click on Data-Add new data source, choose Database, click on New Connection and the Add Connection window comes up. As a data source, I specify Microsoft SQL Server Database file.
For a database file name, I navigate to MSSQL.1/Data and in that folder, there it is, the AdventureWorks file. Now, here is the rub. When I try to attach this file, I get a window telling me that I don't have permission to open this file! Contact the file owner or administrator! How about that?!
Can anyone help? It would be very much appreciated!
Thanks.
View 1 Replies
View Related
Nov 2, 2005
How to get sample database AdventureWorks and AdventureWorksDW
View 23 Replies
View Related
Sep 17, 2007
Hey, Everyone - I have downloaded two of the sample databases and get the following error when I attempt to open them:
Unable to open the physical file "c:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLDATAAssets_Maintenance_log.ldf". Operating system error 2: "2(The system cannot find the file specified.)". (Microsoft SQL Server, Error: 5120)
So what am I doing wrong? The install of these sample databases is simple and straight-forward.
Thansk!
Regards,
Bob Mitchell
View 7 Replies
View Related
May 9, 2007
Hello
I'm looking for sample database for data mining in SQL Server 2005. In my project I need to use all algorithms provided by SQL Server 2005. I know that we have "SQL Server 2005 Samples and Sample Databases" on microsoft.com site, but there are only AdventureWorks data sets. I need sth less popular, but similar.
I have found http://www.kdnuggets.com/datasets/index.html and others, but I don't see data sets good for multidimensional analysis.
The origin of data may be natural or artificial, it doesn't matter.
I don't have to generate my own data, because I had to discover new knowledge, that will be surprising to me.
Any help would be appreciated.
Thanks in advance.
(sorry for my English)
View 1 Replies
View Related
Feb 28, 2007
There are two instances: SQL2005 and SQL2005Express on two different units. While there is Visual Studio 2005 Team Edition also installed on the units have not attempted these component installs through either yet. Have spent the better part of two days, following all the directions having searched help locally, online, technet,and applied their advice respectively. While I've taken out the old instances, downloaded updated ones in both my SQL Server instances they do not show as installed under Programs->SQL Server (whichever instance)->Tutorials ...However they do show installed in Control Panel and they can be found via Explorer (AdWorks DBCI+AdWorks BICI and Express instance on the other unit. Have also download SP2 and installed it, but this has proved of no help. @ My wits' end, any help will be appreciated.
View 5 Replies
View Related
Aug 10, 2006
There are five msi files listed for downloading.
SqlServerSamples.msi
AdventureWorksDB.msi
AdventureWorksDBCI.msi
AdventureWorksBI.msi
AdventureWorksBICI.msi
What are the AdventureWorksDBCI.ms and AdventureWorksBICI.msi used for? I try to run it, but it return the message "Another version of this product is already installed" and ask me remove the old version of this product. Anybody know what I should remove?
Thanks,
View 3 Replies
View Related
May 17, 2006
I have downloaded and run all the .msi's for the sample databases. To install them I am suppose to use "SQL Server 2005 Setup, you need to click the Advanced button....". I don't seem to have a "SQL Server 2005 Setup" - did the docs revert back to SQL Server rather than SQL Express or what ???
R
View 5 Replies
View Related
Mar 23, 2007
Hi, i read article on how to install the AdventureWorks on my PC, basically i downloaded the sample db from microsoft website, but after i install several times, i seems cant get to see it in my sql server 2005, please assist on this, i have been craking head for this. Thanks :)
View 1 Replies
View Related
Mar 28, 2006
Hi
Books online mention the existence of sample code for several custom tasks, including the one mentioned in the title. But, when I try to find this code in the location mentioned it is nowhere to be found.
I have run a search on the rest of my drive and come up empty.
Can anyone tell me where to find this?
Thanks
View 3 Replies
View Related
Feb 29, 2008
Im trying to use VB.net 2005 to write a sample app to access a DB. Are there any samples for this and any samples of how I go about making the DB in the first place?
View 1 Replies
View Related
Dec 10, 2007
Dear Readers,Is it possible, like in Access, to link to tables in other SQL databases that are on the same server? I have a query that I originally had in Access that queered from multiply databases. It did this by having those other tables in the other databases linked to the database that had the query.
View 3 Replies
View Related
Feb 5, 2006
Hi!
This concerns SQL errors showing up unexpectedly and a "Sample" application.
I am running Windows XP Pro SP2 on a Dell 8600 Laptop. It is the only computer I own (or want to own) therefore, home networking not an option. A simple, stand alone computer is all I need or want, yet sometime around September or October '05 whenever I booted up, I was getting SQL error messages (e.g., missing SQLsvc file). While trying to find the problem, I was seeing indications in various places that Windows NT was my OS (what happened to Windows XP as my OS?). I'm not sure how all that happened, I certainly did not intend to make any such change.
I'm not a computer techy, nor do I have such an aspiration. However, I'm quickly discovering that in order to use a computer in any capacity, one must indeed become somewhat of a techy - like it or not!
So, I got rid of the SQL error messages from popping up at bootup and things seemed to be a bit more normal, but now (for the past 2 or 3 months), everytime I shut down, I get the pop up window that indicates a program is not ending properly and I have the option to "end now" or "cancel" to return to windows. The name in the title box of this popup is simply "Sample" -- no extension such as .exe (although I assume that's what it should be). I have no clue what this is and have searched every possible source to find the answer but to no avail. I suspect it has something to do with that blasted SQL thing that seemed to take over my computer. I searched the web for "sample.exe" and found that it may be a virus
"Virus Alert: W32.Nimda.E@mm
The attachment received has been changed to: Sample.exe ... Emails itself out as Sample.exe Shared drives: Infects open network shares."
After reading the above link, I checked and, sure enough, I have this "W32nimda" file. A search as to how to eliminate it, led me to the Symantec website, which has a removal tool to download, along with 7 pages of instructions (did I mention that I did NOT want to be a computer techy?). I used Symantec antivirus 2 years ago and was glad to be rid of it, however getting completely rid of it seems to be another story and I truly wish I knew the secret to that (any hints?). I did not download this tool yet and not sure if I want to. Surely, there's an easier way! I have run my antivirus software (Trend Micro PC-Cillin), which finds nothing.
I seem to be getting away from the subject, although it all seems related, so I'll get back to the SQL question(s) which is, do I need it? If not, how can I get rid of it? Probably more information is required to answer this question such as how I use the computer, what applications, etc. Briefly, I do not create web pages and do not have a web page; no home network; do not play games or download music (afraid of that!); don't visit "taboo" websites. I do not have MS Word or any of the MS office line - Word Perfect 12 is my word processor. In November last year (at the same time all this started) my modem ceased to function, which I attributed to, unknowingly, plugging into a digital telephone jack at my office. I bought and installed another modem - which I could not get to work - took it back and bought wireless modem and router, which I installed and setup myself (with telephone assistance from router manufacturer, Linksys).
My web related usage is mainly research and email (a necessary evil, apparently). I also use the computer for photo storage and enhancement, graphics and Windows Media Player 9.
I apologize for this post being so lengthy, but I wanted to explain the problem with enough detail in the hope of getting a substantially beneficial answer (other attempts at other sites have been answered basically with "I dunno!" - and here's a surprise, I got the same "I dunno" from The Geek Squad at Best Buy!).
Thanks for taking the time to read all this - hope you can help!
View 3 Replies
View Related
Nov 28, 2007
Newbie in sql. Is the adventure works db sample compatible with the free sql compact edition, or is there a sample db for the compact edition? A link if possible could help. Was searching on microsoft' s website and was getting the sample for sql server and i have the compact ed. Downloaded the sample, tried to run it but nothing.
View 3 Replies
View Related
Jan 10, 2006
Hello All,
I have two tables
SCDTest1
id stdt enddt price
1 01/04/2006 09/09/9999 900
2 01/04/2006 09/09/9999 200
and
SCDTest2
id stdt enddt price
1 01/04/2006 09/09/9999 100
I want to create a package that will:
check to see if id and stdt from SCDTest1 exists in SCDTest2,
if yes, I would like to expire that row in SCDTest2 (change the enddt to today) and then insert a new record into SCDTest2 with stdt = today and enddt = 09/09/9999.
If no then I want to insert the row with stdt = today, enddt = 09/09/9999.
SCDTest2 will look like this after the run is complete.
SCDTest2
id stdt enddt price
1 01/04/2006 01/10/2006 100
1 01/10/2006 09/09/9999 900
2 01/04/2006 09/09/9999 200
I have come close by using the SCD wizard, but have been unable to figure out how to get the proper date updates to occur.
Any help would be greatly appreciated.
Thanks
View 7 Replies
View Related
Sep 23, 2005
I'm looking for a sample database for a big company, organization,... to build my db project as a part of my db system courses. Can anybody help me?
Thanks anyway.
View 6 Replies
View Related
Apr 9, 2008
Hai
I have one amount field in my table. I need the query to get the record where the amount field must be +/-15%.
View 15 Replies
View Related
Nov 21, 2005
for SQL Server 2005 express (no northwind or pubs sample databaes only adventureworks). Please correct me.
View 1 Replies
View Related
Aug 28, 2006
Hey guys,
Does anyone know of a site or a link which gives you sample SQL questions (mostly related to SQL queries) and answers?:) I am not a developer so I don't get problems (to solve) that easily:)
If its already available here, my apologies, I haven't explored that much.
Thanks.
View 2 Replies
View Related
Mar 31, 2008
i have a query that uses the adventure works sample database am working on sql server 2000 can i install this sample database to this sql2000 server?
Best Regards
View 2 Replies
View Related
Jul 23, 2005
Hello,I am a very complex problem in front of me. Kindly help me outin acheiving the same.Say I have a table called InfoName with two columns Name and IDInfoNameName IDOS 1SP 2Driver 3fasdf **** ***** ****(I AM INTERESTED IN ONLY FIRST THREE ROWS )I have another table Infotxt which uses the ID of InfoName asforeign key. It stores the value of this ID as shownInFotxtID Value UnitNAME1 Win 2000 raj2 SP 4 raj3 40 GB raj1 Win xp jay2 SP 2 jay3 20 GB jayNOw I need to present it with unitname's configuration of OS,Sp and disk capacity like below.name OS SP DriveRaj win2000 sp4 40 GBJay winxp sp2 2o GBThat is, the rows of the InfoName table (first 3 rows) shouldbe the columns of my resultant query.How can I achieve the same.Please give me some ideas, and if the question is silly, I amvery sorry, because I am new to database queries...Thanks,cspekcspek*** Sent via Developersdex http://www.developersdex.com ***Don't just participate in USENET...get rewarded for it!
View 2 Replies
View Related
Jul 23, 2005
Hello,Im brand new and trying to learn SQL Server 2000, I have purchased a bookand been reading it for a few weeks.I'm tring to find an ASP script that would let me know if my connection tomy database is working.I use DSN, i created a DSN name "mail"anyone have any scripts?--Message posted via http://www.sqlmonster.com
View 4 Replies
View Related
Nov 17, 2005
Is anyone is familiar with the HelloWorldCS solution that is available for download at www.SQLServiceBroker.com?
View 5 Replies
View Related
Sep 26, 2007
Forgive me for my programming ignorance, but how to i find the microsoft.sqlserverce.samples.accesssync.editdata reference?
Thanks
View 1 Replies
View Related
Sep 28, 2007
Hello,
I just installed the FormsAuthentication Sample and when I goto http://localhost/reports I get the logon page and I can register the user id ok, but after that when go back and type my username and password and click logon it gives me this:
The request failed with HTTP status 401: Access Denied.
Any help would be greatly appreciated.
View 2 Replies
View Related
Feb 27, 2006
Hello,
Can you give me complete sample of using your own class implemented IReportViewerMessages interface in ASP.NET Application?
I have problems with this task.
Thanks!
View 5 Replies
View Related
Jul 6, 2006
Hi
We want to replace Access/ SQL Server Express/MSDE with a lightweight server with a small footprint, and I've got the assignment to evaluate SQL Server 2005 Everywhere using MFC. The application we want to replace the database in is MFC and not yet converted to VS 2005. I have no previous experience with OLE DB, and a very limited experience using MFC. I was hoping someone could provide me with a sample application using SQL/e with OLE DB, and some good references to getting started. If anyone knows of any good Libraries to simplify the implementation of OLE DB for me, that would be great. I'm currently looking into Express OLE DB Library from Sypram, but having some compilation issues.
I've tried to read the OLE DB tutorial at msdn library, but so far it feels very abstract and seems quite complex compared to ADO providers in C# which most of my exprience is from.
I tried using the MFC Wizard in VS2005 to create a single document application. When selecting the SQL Server 2005 Everywhere OLE DB Provider for Windows and then selecting a table from the data source, Visual Studio crashes with an unhandeled win32 exception (I've reported this bug at labs.msdn.microsoft.com). So I haven't really gotten a good idea on how to use the OLE DB driver for SQL/e.
Does anyone know if there are any plans on providing an ODBC driver for SQL/e? I haven't been able to find any so far.
Best regards
Bjørnar Sundsbø
View 1 Replies
View Related
Jan 25, 2007
I am new to reports and worked on few but a single report using 1 stored procedure.
Any sample or webcast.
now i have a requirement creating report within a report(subreport)
first stored procedure will bring few records and now using a id of each row i need to bring there child records(from child table)
is it possible to show master record and then its related child records.
and then number 2 master record and its related child records
Please help thank you very much for the information.
View 3 Replies
View Related
Mar 28, 2006
Hi,
I neew a small sample code in VB.NET to create a custom data flow component for SSIS.
All the examples I was able to find it are in C#.
Answer very apreciated.
View 3 Replies
View Related
Nov 1, 2007
Hi
im a beginner in SQL. I installed SQL Server Express on my computer, but i didnt find any databases included. The institute where i go to learn SQL have plenty of databases, but students usually work on databases called AdventureWorks and GlobalToyz. I searched the web for these databases and found something but i still cant figure out what to do with it. So i was hoping if anybody could send me these databases with brief instructions on how to install it into SQL Server. Thanks in advance
View 3 Replies
View Related
Dec 9, 2003
hi,
Does anyone have any sample code for using ntext data type, when inserting or reading big block of texts? How can you read a big huge block of text back into c#?
thx
-Philip
View 1 Replies
View Related