It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Problem:
I updated the wrong table in the database.
Is there any way to get the original database back?
Please help
Thanks
UPDATE As SET Name = 'A',
Server: sql server 2005
I have already committed the update statement.
Sorry for not including it earlier.
If this is SQL Server, and you don't have any backups in place then I don't believe so.
SQL Server doesn't automatically do any data backups for you.
However, if you do have a backup stored, you can restore this using SQL Server Management Studio.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
SQL Server 2005 or SQL Server 2008 how to import SQL Server 2012's database?
You can't Restore from newer versions. But you can script the original database (schema and data), and run the scripts in the target database. Make sure you script using the correct compatibility level.
See my step-by-step description on my blog.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I got an epic problem about my datas that in my tables. I insert some data into a table and I wait 5 or 10 mins and table clears itself. I don't know why. My application doesn't have a code bug, but I think SQL Server has a bug. PLease help...
My best guess is that your code creates the database or the table each time it runs, thus seemingly deleting the data inserted.
Make sure you commit your changes. It is my guess that the tool you are using is not committing your changes automatically because of its settings.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
How to encrypt all existing views in SQL Server 2005?
I can encrypt them while creating it WITH ENCRYPTION clause but do not know how to do it after creating it.
You can recreate all the views WITH ENCRYPTION,
BUT
notice - that it is very weak protection and actually works well only against "honest people"
SO
you cannot encrypt the views and SPs in sql server with appropriate level of security, try to manage the access to sql server instead - look to VIEW DEFINITION and similar permissions
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
Difference between openrowset,Linked server,Opendatasource and openquery in sql server
You don't say what you're trying to do or how your confused but briefly:
Linked servers allows you to connect to another instance of SQL Server running on a different machine.
OPENROWSET is an alternative method to accessing tables in a linked server and is an ad hoc method of accessing remote data using OLE DB.
OPENDATASOURCE allows you to connect with using a linked server name.
Take a look on MSDN or SQLServer Central, there are some good summaries and examples on there.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
When i restored database from one server to other server the user's are not login in database but its shown in database then i delete it and make it again through sql/server/security/login and then its work. is someone tell me how can i restore database and do not define user every time...
Maybe this helps: How to move databases between computers. Especially Step 2: How to transfer logins and passwords.
Assuming logins exist, you have the "orphaned users" situation
Either use sp_change_users_login or ALTER USER ... WITH LOGIN .. for SQL Server 2005 +