Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to Create Login and User through query in Sql server
2005.and also how to delete Login and User through query?

Answer Posted / rajiv singh

CREATE LOGIN ra
WITH PASSWORD = 'passwd';
USE COREDATA;
CREATE USER ra FOR LOGIN ra;
GO

DROP LOGIN name

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how you can list all the tables in a database?

1026


Write a code to select distinct records without using the DISTINCT keyword.

1114


What happens if you add a new index to large table?

942


What is an identity?

1018


What is the difference between the application object and session object?

1068


How can we check the sql server version?

1067


what data regions are and what are the different data regions?

141


What does nvl stand for?

944


What is a collation in ms sql server?

1085


I have triggers,views,functions,stored Procedures for a table. When I am dropping that table which objects are deleted?

1137


What is subreport?

141


Is it possible to run multiple publications and different type of publications from the same distribution database? : sql server replication

980


Can I disable or restrict ssrs export formats (rendering formats)?

150


A user is a member of the public role and the sales role. The public role has select permission on all the tables. The sales role does not have select permission on some of the tables will the user be able to select from all tables?

962


how to invoke a trigger on demand? : Sql server database administration

1086