Quantcast
Channel: Answers by "sqlaj 1"
Browsing all 128 articles
Browse latest View live

Answer by sqlaj 1

Depending on the version of SQL Server. You could use an agent job and call a PowerShell script to drop the directories. Or use the old batch script. Old DOS RMDIR drive:path Or PowerShell: Remove-Item...

View Article



Answer by sqlaj 1

As Blackhawk-17 and David mentioned, you have to do some manual work when using log shipping. If you want automatic fail-over look at mirroring or better yet look at SQL 2012 and AlwaysOn options.

View Article

Answer by sqlaj 1

Have you read this forum post? It may be an authentication issues. The user is in one domain and trying to connect/authenticate to a server is a different domain. Read here:...

View Article

Answer by sqlaj 1

For people to be able to provide answers to your question(s) you need to provide more information. This is a great post to help you help us to help you. :)...

View Article

Answer by sqlaj 1

Being handed a mess or a broken server is never fun. As far as I see you have a few options. Others may provide more options but here are two. It appears by the error message there are some required...

View Article


Answer by sqlaj 1

You can't recover data after deleting unless you have the following. 1. Transaction log backups (simple mode you won't) 2. You have a backup of the database (you said you didn't) 3. 3rd Party software...

View Article

Answer by sqlaj 1

Adding one other thing to Thomas's answers you may want to consider/look into. You could use database compression (row or page level) to reduce the size of the mdf file. There are some draw backs to...

View Article

Answer by sqlaj 1

From what I was able to gather from your question, I executed the query on my server and all backups indicate they were backed up last night as my schedule indicates they should. This is a script I...

View Article


Answer by sqlaj 1

I have not worked with this type of requirement before. That being said, the direction I would go is something like this. 1. Gather requirements (Business unit/Security) 2. Discuss with Security (Or...

View Article


Answer by sqlaj 1

Why not use the Job Activity Monitor in SQL Server Agent? It is a GUI interface showing all jobs on your system. It has columns of Job Name, Enabled, Last Run Outcome, Next Run (date). You could also...

View Article

Answer by sqlaj 1

The range (lowest value to highest value) for the column is based on the data type. Review the numeric data types here and chose one appropriate for you solution....

View Article

Answer by sqlaj 1

We can provide some answers but with the questions you have you need to do some reading too. HEre is a link to MSDN page about clustering. http://msdn.microsoft.com/en-us/library/hh231721.aspx. You...

View Article

Answer by sqlaj 1

Look at this site. It shows a good example of what you (or they) need to do. http://blog.sqlauthority.com/2012/08/24/sql-server-delete-truncate-and-reseed-identity/

View Article


Answer by sqlaj 1

I don't use SSIC but did you run the report after installing and rebooting? There are multiple logs generated. Perhaps it is looking at a log before the final log is written? Maybe this link will help?...

View Article

Answer by sqlaj 1

Powershell is an option for what you want to do. Have you looked at that? I have a job running every morning sending me a excel document with all failed jobs from all my servers. Take a look here for...

View Article


Answer by sqlaj 1

If you are only adding the months in number format why not just use an insert/update statement? After all there are only 12 numbers to insert. Or am I missing something?

View Article

Answer by sqlaj 1

Is there a file group "AWFullTextFG"? It appears in your example there are spaces in the "path".

View Article


Answer by sqlaj 1

What do you mean by > is there anyway i can format this I'm quite puzzled as i can't use HTML mail like i have in the past. Does that mean you can use because of the formatting issue? I use HTML...

View Article

Answer by sqlaj 1

I think your issue is you are still using a query in the email. I do all the querying/formatting within the table. Then just add the table to sp_send_dbmail. It may also be related to HTML and the csv...

View Article

Answer by sqlaj 1

You could use a temp table to store the information from the first SELECT, then pull one row at a time (TOP 1) from the temp table, insert and then after inserting, delete that row from the temp table....

View Article
Browsing all 128 articles
Browse latest View live




Latest Images