Monday, March 19, 2012
Bad Login/Password...how to correct it?
SQL Server?
How do I reconfigure the options I chose when I installed SQL Server
Reporting Services in the first place?
Help!?!?rsconfig.exe -c
--
Tudor Trufinescu
Dev Lead
Sql Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"JC Ford" <johncford@.hotmail.com> wrote in message
news:eSa0kGvfEHA.592@.TK2MSFTNGP11.phx.gbl...
> How do I change the login/password Reporting Services uses to connect to
> SQL Server?
> How do I reconfigure the options I chose when I installed SQL Server
> Reporting Services in the first place?
> Help!?!?|||Thanks!
Tudor Trufinescu (MSFT) wrote:
> rsconfig.exe -c
>
Friday, February 24, 2012
Backup/restore table belonging to one user/login
Hi!
I have a SQL 2000 database that has several tables with the same name but with different users/logins.
Example:
Database "Customers"
Table Customer with user / login CompanyA
Table Customer with user / login CompanyB
Table Contact with user / login CompanyA
Table Contact with user / login CompanyB
I need to split these into two different database's
Database "CustomersA"
Table Customer with user / login CompanyA
Table Contact with user / login CompanyA
Database "CustomersB"
Table Customer with user / login CompanyB
Table Contact with user / login CompanyB
Any good idea how to do this?
Ingar
You can export whichever table you need to another database using the import/export wizard and then remove it from source database|||
Create CompanyA and CompanyB databases, and appropriate users : CompanyA in CompanyA database and CompanyB in CompanyB database.
Then run
use CompanyA
go
EXEC sp_changeobjectowner 'Customer', 'CompanyA';
...|||
Code Snippet
Create database CustomersA
go
create login companyA default_database 'customersA'
go
select *
into [customersA].[dbo].[customers]
from
[customers].[CompanyA].[customersA]
go
use CustomersA
go
sp_changedbowner 'CustomersA'
go
-- repeat this for CustomerB
|||Thank's a lot.
This solves my problem.
Ingar
Backup/restore table belonging to one user/login
Hi!
I have a SQL 2000 database that has several tables with the same name but with different users/logins.
Example:
Database "Customers"
Table Customer with user / login CompanyA
Table Customer with user / login CompanyB
Table Contact with user / login CompanyA
Table Contact with user / login CompanyB
I need to split these into two different database's
Database "CustomersA"
Table Customer with user / login CompanyA
Table Contact with user / login CompanyA
Database "CustomersB"
Table Customer with user / login CompanyB
Table Contact with user / login CompanyB
Any good idea how to do this?
Ingar
You can export whichever table you need to another database using the import/export wizard and then remove it from source database|||
Create CompanyA and CompanyB databases, and appropriate users : CompanyA in CompanyA database and CompanyB in CompanyB database.
Then run
use CompanyA
go
EXEC sp_changeobjectowner 'Customer', 'CompanyA';
...|||
Code Snippet
Create database CustomersA
go
create login companyA default_database 'customersA'
go
select *
into [customersA].[dbo].[customers]
from
[customers].[CompanyA].[customersA]
go
use CustomersA
go
sp_changedbowner 'CustomersA'
go
-- repeat this for CustomerB
|||Thank's a lot.
This solves my problem.
Ingar