Difference between openrowset,Linked server,Opendatasource [closed] - sql

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.

Related

How to let SQL Server 2012's database be imported to SQL Server 2008 or SQL Server 2005? [closed]

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.

update a table on my website [closed]

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.
Hey all and thank you in advance for any help, I have my website I'm building as a hobby I have an java app I wrote sitting on my comp, it updates certain tables and the the end result is a table shown to users, now I update the tables manually using phpmyadmin.
The question is how do I set a connection to import tables into my website DB?
I googled it before I asked, haven't found related stuff....
There are many ways to do what you want (dozens in fact). One way, that I personally use is through PHP and the $mysqli class.
Read more on mysqli here
You will need to setup a database conection, and from here you would use this connection to query your database by building SQL queries and using the $mysqli class to send them to the database.

SQl connection and Server connection [closed]

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.
Can anyone tell me what is the difference between a SQL connection class and a Server connection class?
ServerConnection can be used to establish a connection with
an SQL Server instance. However, it can't be used with ADO.NET
components as it doesn't expose an a descendant of DBCommand.
ServerConnection is designed for database maintenance and administration
tasks and is deployed with MS SQL Server, while SQLConnection is design
for general CRUD operations through ADO.NET and is deployed as part of
the standard .NET framework.
From:
http://social.msdn.microsoft.com/Forums/pl-PL/csharpgeneral/thread/d4e1305b-3c6b-4504-bcfa-1e3e999d1267

How to encrypt all existing views in SQL Server 2005 after it has been created? [closed]

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

SQL Database deletion [closed]

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.