How can I disable the windows authentication mode of SQl Server and restrict it to ask for user and Password every time and no windows authentication. for security purposes
I need to keep track of the last login time for each user in our SQL Server 2005 database.
I created a trigger like this:
CREATE TRIGGER LogonTimeStamp
ON ALL SERVER FOR LOGON
AS
BEGIN
IF EXISTS (SELECT * FROM miscdb..user_last_login WHERE user_id = SYSTEM_USER)
UPDATE miscdb..user_last_login SET last_login = GETDATE() WHERE user_id =…
Quick question:
I have a situation where I need to let multiple people on different PCs log into one server 2008 machine as administrator simultaneously over remote desktop. I have the CALs for it, it's just not set up correctly. When one user tries to log in, it boots the other out. What I need is to present to them a different session, just…
I'm having difficulty setting up replication over a VPN.
I have a SQL Server 2008 R2, Enterprise Edition database on a Windows 2008 R2 Server.
SQL Server is running on a non-standard port. I have set it up so that it is acting as its own distributor and have configured a publisher on this server. It is set as an updatable transational…
I receive a lot of emails every day. I try to answer each and every email and comments on Facebook and Twitter. I prefer communication on social media as this gives opportunities to others to read the questions and participate along with me. There is always some question which everyone likes to read and remember. Here is one of the…
I'm replacing our old Windows XP Pro office server with a HP Microserver running Ubuntu Server 12.04 LTS.
I'm not a Linux expert but I can find my way around a terminal prompt, I'm a Mac user by choice.
The office use a mix of Windows XP Pro machines and OSX Lion laptops. I included Samba during installation, and I'm planning on…
I'm trying to copy a backup I've made from one server to another using either an SSIS or Powershell step in a job. I've run into the same error on both systems when running the step under the sql agent. I receive errors that the path does not exist. I've tried granting the agent rights to e:\backups, where the file is located,…
Earlier I wrote SQL SERVER – Beginning SQL Server: One Step at a Time – SQL Server Magazine. That was the first article on the series of my real world experience of Performance Tuning experience. I have written second part the same series over here.
Read second part over here: Quick Look at SQL Server Configuration for…
I have mentioned several times on this blog that the best part of blogging is the questions I receive from readers. They are often very interesting. The questions from readers give me a good idea what other readers might be thinking as well. After reading my earlier article Simple Example to Configure Resource Governor –…
SQL Server Architecture is a very deep subject. Covering it in a single post is an almost impossible task. However, this subject is very popular topic among beginners and advanced users. I have requested my friend Anil Kumar who is expert in SQL Domain to help me write a simple post about Beginning SQL Server…
SQL Server Agent fails to start because of the error 15281 is a very common error.
When you start to restart SQL Agent sometimes it will give following error.
SQL Server blocked access to procedure ‘dbo.sp_get_sqlagent_properties’ of component ‘Agent XPs’ because this component is turned off as part of the security…
Every developer once in a while facing an unfortunate situation where they have not yet saved the work and their SQL Server Management Studio crashes. Well, you can minimize the loss by optimizing auto recovery settings. In this video we can see how to set the auto recovery settings.
Go to SSMS >> Tools…
I have mailserver configure using dovecot+postfix+mysql and it was runnig fine in the server(Ubuntu Server). But during last week it stopped working correctly. It doesn't send email. When I try to telnet localhost smtp I'm connecting successfully but when I do mail from:<steve@example.com> and hit Enter…
Hi. We have an old PowerEdge 860 that we're trying to install Windows Server 2008 R2 onto. At present the machine doesn't have any OS installed, so we're doing a clean install from a DVD. Pretty simple stuff.
The problem is that, although the installation process starts off well (asking for language and…
TechEd India 2012 is just around the corner and I will be presenting there in two different sessions. On the very first day of this event, my presentation will be all about SQL Server Misconceptions and Resolution – A Practical Perspective.
The dictionary tells us that a “misconception” means a…
Click here watch SQL Server 2014 Administration New Features.
SQL Server 2014 was released earlier this year and it has been extremely popular in Microsoft world. Here is the announcement for everyone, who have been asking me to build a tutorial around SQL Server 2014. I have authored latest…
Hi Guys,
I'm having trouble configuring the MSQC adapter for BizTalkServer 2006. At the moment I'm getting the following error when setting up a receive location or send port:
The adapter "MQSC" raised an error message. Details "The specified module could
not be found. (Exception from…
I copied code from our live site (running windows server 2003) to a new QA virtual machine (running windows 2008). When I view the page source info its exactly the same, but the appearance of the sites is very difference. Is this caused by the difference in OS, or am I looking in the…
I would like to create a script that emails me when a scheduled daily backup runs. I'd prefer the email to indicate success or failure. I understand that this is not an easy thing to do with Windows Server 2008.
Is it possible? If so, how?
Thanks
I have a database on a SQL Sever 2012 instance which I would like to copy to a 2008 server.
The 2008 server cannot restore backups created by a 2012 server (I have tried).
I cannot find any options in 2012 to create a 2008 compatible backup. Am I missing something?
Is there an easy…
Hello,
We've got arround 25users connecting to our terminal server (remote desktop) - no active directory is used.
How can i hide the taskbar from the bottom of the page, not to auto-hide it. i want the users not to be able to use it (except the administrators of course).
…
Can any one suggest variou ways of migrating a database from SQL server 2000 to 2005.
How do I make sure all constraints, primary keys and indexes are preserved. Is there any migration tool that preserves them.
Yesterday’s post, Targets Week – pair_matching , looked at the pair_matching Target in Extended Events and how it could be used to find unmatched Events. Today’s post will cover the etw_classic_sync_target Target, which can be used to track Events starting in SQL Server, out…
Have you ever faced situation when you see something working and you feel it should not be working? Well, I had similar moments few days ago. I know that SQL Server 2008 supports online indexing. However, I also know that I cannot rebuild index ONLINE if I have used VARCHAR(MAX),…