|
Thanks, but I think Shameel has hit the nail on the head.
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
Cool
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
If you are very sure that you used the same credentials in both instances, then it could be a setting in SSMS that prevents changes to tables that require the table to be recreated.
Click Tools --> Options
Under Designers --> Table and Database designers, there is an option "Prevent saving changes that require table re-creation".
Ensure that this option is unchecked. It is checked by default.
|
|
|
|
|
Thanks!
I generally don't mess with default settings until I'm familiar with the product, and that's one I haven't changed.
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
Had the same problem today. I am getting into 2008 from 2000 and did not know where to find that setting.
Thanks Shameel
by the way I just noticed the Get Smart quote
djj
|
|
|
|
|
I'm on a roll here, so bear with me.
I haven't used it before, and want to learn it quickly. I particularly want to use it with C# applications for tracking equipment and service records for work. I also happen to have a few bucks available and I'm in the mood to buy myself a Christmas present. A book would be nice, particularly a book that covers programming for SQL Server 2008 in C#, and which will also teach me about n-tier development - breaking the task into logical units for data access, business rules, and user interfaces. I tend to get them all muddled together in one mess, and you know what that leads to... another project I never finished. I'd like to be done with that, once and for all.
Any favorites?
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
|
I just happen to have this handy that may be of interest
[edit] As Shameel pointed out these may be illegal books and I respect and appreciate the work put in by authors to encourage theft. [/edit]
Last modified: 2hrs 26mins after originally posted --
|
|
|
|
|
CP is a place for ethical programmers. Do not post links to illegal free ebooks
|
|
|
|
|
I did not even look into the details, I got the link right here and thought they were teaser type books, thanks for the heads up. I agree with you and the authors put in way too much effort for me to devalue their work by encouraging theft.
|
|
|
|
|
I appreciate your conern, and agree with you about IP theft colpletely, but if you couls at least post the title, I might be able to actually buy it.
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
"Pro ASP.NET for SQL Server: High Performance Data Access for Web Developers" by Brennan Stehling.
|
|
|
|
|
Great! That's a good start, I think, although I don't plan to use web access yet - just a dedicated C# client accessing a central SQL server in the office. My whole plan is to make this equipment tracking job so simple I can hand it off to someone else.
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
Is there such a thing? Access ships with a built in documenter, which I find handy in print form to use as a reference when I'm trying to wrote code to manipulate it. I never can remember all the field names and types 20 minutes after I create a database...
I can get a list of field names using a select query against 'information_schema.columns' and I can print that, but it's not a very convenient format; all I want is the field name, type, and width (for text).
Is there a freely available tool to simplify this task?
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
There's an article right here on the Code Project which might help:
SqlDoc: Document your SQL Server database[^]
Or, a quick google for "sql server free schema documentation tool" brings up over 85,000 results, at least one of which might be helpful.
DBScribe is good, although it's not free. But at just $99 it's not exactly going to break the bank. It might be overkill for what you're looking for, though.
|
|
|
|
|
Hey guys, as u guessed by now, I have a MDF and LOG file which were created in SQL Server 2008, and currently I don't have that. Is there anyonre who can give me an email address so I can send my files to him and he sends me the script, that way I can generate it in 2005 !!! I ve done alot of searching and found this as the only way !!!
Thanx in advance
|
|
|
|
|
Am trying to understand what your question.its not clear please try to explain again
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
I want to send someone an MDF and LOG file, have them attach the file to their server, then script out the entire database and return the script to you.
|
|
|
|
|
You want to send someone an MDF and LOG file, have them attach the file to their server, then script out the entire database and return the script to you.
You might want to elaborate, the size of the database would be rather important.
Also, why not install SQL Express 2008 and do it yourself (other than the absolute nightmare that installing SQL 2008 is).
|
|
|
|
|
exactly ! Thats, I figures if someone has it installed already why go through all the trouble installing it!!! Its about 60 MB !
K
|
|
|
|
|
60mb is the least of your problems when installing SQL 2008, there is a problem in the installer that cannot find dotnet 3.5 sp1 somewhere
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hav you tried using sql2008 express? Its free, and I think you would be able to do what you need.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
What is the compatibility level of the database ? If it was set to 90 or lower, you could still attach it to SQL Server 2005.
|
|
|
|
|
When I try to attach it, I get this error saying that my server supports 661 and lower and the file I'm trying to attach is 665 !
|
|
|
|
|
It means that you cannot attach it to an SQL Server 2005 instance. Why don't you try SQL Server 2008 Express. Its free
|
|
|
|