How to create logins using windows Authentication mode?

Answer Posted / madan

sp_grantlogin'Domainname\loginname'

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where cross join is used?

507


What is the difference between getdate and sysdatetime?

529


This question asked during interview, 2) At the end of each month, a new table is created for each bank that contains monthly metrics consolidated at the account level. The table naming convention is bankX_YYYYMM where X represents the numeric designation of the bank and YYYYMM indicates the 4 digit year and 2 digit month. The tables contain the following fields: name data type description account text account number registered boolean indicates whether the account is registered num_trans integer number of transactions made during the time period spend numeric(9,2) total spend during the time period a) Write a SQL query that will display the total number of transactions and total spend for "Bank1" during the 4th quarter of 2009. b) Write a SQL query that will display the total number of transactions and total spend at "Bank1" and "Bank2", broken out by registered vs. non-registered accounts, during January 2010 not sure what is correct answer and how to solve?

2010


Name some of the open source software that you can use in alternative to SSR?

105


How to transfer a table from one schema to another?

558






How to create a view using data from another view?

561


Can group functions be mixed with non-group selection fields in ms sql server?

536


Where the sql logs gets stored?

538


explain extended properties

560


How to deploy the Report?

93


New concepts of sql server 2005 use in your project.

1908


Is sql different from sql server?

509


How to download and install microsoft sql server management studio express?

559


How to loop through the result set with @@fetch_status?

662


Differentiate between a having clause and a where clause.

518