Quantcast
Channel: SQLServerCentral » SQL Server 2008 » SQL Server 2008 - General » Latest topics
Browsing all 16406 articles
Browse latest View live

SQL Server 2008 R2 Setup How to chaneg system drive from C to D

Hi, I have changed the following the "Shared Install DIrectory and Instance Directory" to D:\Program Files\Microsoft SQL Server.But the System Drive is still C:\Windows\system32. As a result there is...

View Article


Time out in insert statement

Hi every bodyI have a large table (270 G) and i only have insert and select statement over this table. I have a lot of time out but i don't know what can i do for this problem and what to check.The...

View Article


how can i write 2 select statements in single procedure

Hi all,how can i write 2 select statements in single procedure.

View Article

two almost identical triggers working fine except one line in each

I have two triggers that fire upon an insert that fires both simultaneously with no problems except this one line of each (ALONE they fire fine with this line)... clues?:INSERTED.PO_Number +...

View Article

Using Update Statement and vars to remember value from previous records

Is the following possible.declare @prevStatus char(1)update table1

View Article


Deny Backup

Is there a way to deny a login from backing up any database on a sql instance, or will I need to deny backup on all database users.

View Article

?? on adding records to a table ??

Hi,Not sure how to set this up?INSERT INTO PROVIDER_TO_TRUSTED_PROVIDER_COLLECTIONOID_LINK = '003A19E3D3B040958EFA16EB2585B0DC', OID=oidSELECT PROVIDER_TO_TRUSTED_PROVIDER_COLLECTION.OID,...

View Article

daily differential back up failed

guys:When i am running the differential back up using the same maintanace plans i had earlier its erroring saying: BACKUP DATABASE is terminating abnormally.". Possible failure reasons: Problems with...

View Article


Iterating thru a Tables columns

I have a dataset that i need to iterate thru in a row wise manner where each row has columns that will either be filled with a value or zero.I need to find the first occurance in each row(column) that...

View Article


Open Event Viewer from SQL Server

Working in restricted environment is pain.. and not having access to windows server is double pain..Sometimes, I need to check eventviewer for any errors etc.. and to check this i have to contact...

View Article

SQL QUERY for table names based on column VALUE

Hi, I have a database where every table has an id column (CID) once this value changes all the tables must be checked and updated with the new CID value. I would like a write a query that returns all...

View Article

Execute scripts from directory by desired order

Hi All,I need to execute 300 .sql scripts from a directory. They are named like:10001.name110002.name2...10010.name1010011.name11...and they are listed in this order in the directory.I run ssis package...

View Article

Help in writing a statement

Hi need help writing a sql statement to show which departments did not submit any department goals.I have two tables name Department and Department Goals.Please help...

View Article


Unsure as to what permission would be best

Currently, I have the following query I'm running across multiple SQL Servers to get some basic stats.At the moment, I'm using a new with "serveradmin" permission in order to get this data, but I'd...

View Article

Sql 2012 Always On

Has anyone moved to 2012 and are you using AO. If so have you had any issues with it?

View Article


To OTAP or not to OTAP?

Currently I am working in an organization, where development and production databases reside in the same SQL Server instance. The main reason for this is ease of management: updates for SQL Server need...

View Article

migration form sql 2005 to 2008

HI every one I have SQL SERVER 2005 on Windows server 2003r2. We want to upgrade it from the SQL Server 2005 instance to the SQL SERVER 2008 with WINDOWS SERVER 2008 R2 on the separate Server....

View Article


CONTAINS Keyword.

Hi All,I have a list of 40 sensitive words that I need to match on a varchar string. I have set up a full text index and using the CONTAINS keyword I have managed to extract the required strings that...

View Article

merge replication across different networks

Hi I have two servers, they both on a different site(hence being on different networks).I need to be able to do a merge replication of the database(this needs to run every hour)I know how to do a...

View Article

rebuild index worsens query performance

we have a query which runs several times a dayreads from several tables in one database ("W"), and two tables in another database ("P") (both db's reside on the same server)the two tables in database...

View Article
Browsing all 16406 articles
Browse latest View live


Latest Images