Quantcast
Channel: SQLServerCentral » SQL Server 2008 » SQL Server 2008 - General » Latest topics
Browsing index pages (16406 articles)

Moving Datafiles

I have a number of databases with spaces in the name of the database. No matter what I try to use so I can move the datafiles I get a syntax error. What do I need to use to move database datafiles with...

View Article


Max Worker Threads

Dear All,I keep receiving the following message in the SQL Server error logs Step 1 of job "job name" is being queued for the TSQL subsystemincrease the MaxWorkerThreads, every often and I did some...

View Article


Query to see what components or features are installed

I've been trying to find a simple way to query to see what components and features are installed on my servers but it doesn't seem that simple. I'm looking for something that will identify components...

View Article

Need some help with a query

Greetings everyone!I'm trying to write a query that sets up several rows as column values instead, similar to a pivot, though I've run into a bit of a an issue.The data looks similar to this:UserID,...

View Article

Permissions granted to Public - anything I might need to know?

I have two SQL 2008 R2 servers that have two databases each.   I have the exact same stored procedure in one of the two databases on each server.   I've granted VIEW DEFINITION and EXECUTE permission...

View Article


sql Database (MDF) repair Best Tools

hi MDF file corrupted Best Repair Tools or Software ? What is your suggestion

View Article

Script Out Database Mail Settings?

Anyone bother to have created a script to Reverse Engineer / Script out your EXISTING database mail settings? I set up a profile to use gMail, and it seems logical for me to export out the settings to...

View Article

Raise the IRPStackSize parameter for the server

is it advisable to increase the IRPStackSize Parameter for the SQL server 2008 running on windows Server 2008 R2Help is appreciated,Regards,Bubby

View Article


Create new Central Line based on Trend

Hi, I have managed to get so far with creating a central line that changes depending upon trend that is noted by 8 consecutive valesso this is my result so far, CL is the central line, T1 is the first...

View Article


Certification

I am a software developer who finds myself more and more involved with writing SQL, CLR add-ons, SSRS Reports, and designing our database. All of this is using SQL 2005, but I have experience going...

View Article

Server to Server data transfer for single column in a table

I need to copy data from a particular column in a table and transfer to another table however, this involves moving from one SQL Server instance to another instance.Does anyone have any tips for...

View Article

A transport-level error has occurred when sending the request to the server....

Hi,An application in live environment crashed. After reading the log of the application we found the errorA transport

View Article

Scripting objects in powershell

Hi, I've got this script: #DECLARE TIMESTAMP FOR THE FILES $timestamp = Get-Date -Format yyyy-MM-dd-hh_mm #SCRIPT SL SQLSERVER:\SQL\"(local)"\DEFAULT\Databases\"MyDB"\Views dir | %{$_.Script() |...

View Article


Request for count and "volume" of transactions

I am being asked to report on the number of transactions, and the "volume" of transactions for a particular set of queries being run against a database on a SQL 2008 server. The question as it was...

View Article

Delete duplicate rows from ANY table.

Is there is 'fairly' simple query to delete duplicate rows from ANY table ? A script which removes duplicates from a table, when a table_name is supplied. Ben

View Article


Potential issues with different collations

Hi all, What are the potential implications (if any) for a database having a different collation than a server for the query engine itself? For instance, I know if *I* want to use tempdb for a temp...

View Article

Query produces incorrect results

HelloI am working on a complex problemThere is a problem with the query[code language="sql"]DECLARE @AMTTOMARK DECIMAL(38,2),@CVIDDR VARCHAR(11),@CVIDCR VARCHAR(11),@MCVID VARCHAR(11),@CURRMARKA

View Article


Need procedure to continue even if error

I need to schedule a procedure to copy a large number of tables from AS400 via ODBCThat part is fine, however my problem is this. When the job runs, some of the tables may be unavailable. It's...

View Article

Inserting Numeric and Text data in VARCHAR field

I need to identify cases where a job runs over its estimated completion time. Code to recreate:[code language="sql"]DECLARE @Table TABLE (          &

View Article

check if a file exists and run

I am at a new env and am noticing few users who are little technical and mostly cust support, are editing sprocs and running them in prod. I want to avoid this and restrict the permissions. Has anyone...

View Article
Browsing index pages (16406 articles)


Latest Images