Viewing 15 posts - 16 through 30 (of 186 total)
This works in SSMS
-- Change execution context to the desired login
EXECUTE AS LOGIN = 'Domain\LoginName';
GO
--Check the execution context
SELECT SUSER_NAME();
GO
-- Do stuff
--Revert to me
REVERT;
GO
April 3, 2012 at 7:10 am
The Dixie Flatline said county boundaries, not country boundaries.
December 20, 2011 at 1:49 am
I've successfully used the steps in the first post here:
http://www.sqlservercentral.com/Forums/Topic340912-146-1.aspx
September 19, 2011 at 5:56 am
I just tested changing my OPENROWSET code from Excel 5.0 (originally wrote it for '97) to Excel 8.0, which you use and it behaves in the way you described -...
August 24, 2011 at 6:39 am
You can format the column in Excel before doing the import. In the cell immediately below the column name right click, select format cell and select number. Choose...
August 24, 2011 at 2:53 am
The above code relies on the first day of the week being a Sunday, the US default. Your first day may be different (mine is), which will give an...
August 18, 2011 at 5:06 am
You can just add that component, no need to reinstall.
August 17, 2011 at 8:34 am
It's an optional component of the Database Engine. You need to rerun setup and select it.
August 17, 2011 at 12:55 am
msdn: Collations specify the rules for how strings of character data are sorted and compared, based on the norms of particular languages and locales. For example, in an ORDER BY...
August 12, 2011 at 3:17 am
I'm using SQL Server 2008 SP2 (not R2) and the option Jeffrey mentioned, File > Open > File with New Connection is there in SSMS. It allows you to...
August 10, 2011 at 7:28 am
I'm sorry, I think I may have misread your original post. When you say 'the database is not changing language ... it's still showing in English' are you expecting...
August 5, 2011 at 3:45 am
Right click over the server\instance name in SSMS Object Explorer and select Activity Monitor.
August 5, 2011 at 2:39 am
Don't know if this will help, but SQL Server recognises domain logins by their Windows SIDs. When the domain user account was recreated it would have been created with...
August 5, 2011 at 2:28 am
The change in database collation will only affect objects created after the change. As per BOL:
You can change the collation of any new objects that are created in a...
August 5, 2011 at 2:11 am
The SQL Server Agent is installed as a Windows service on the SQL Server and runs scheduled jobs. The client tools are available on the SQL Server installation...
August 5, 2011 at 1:15 am
Viewing 15 posts - 16 through 30 (of 186 total)