How can user view DDL in SS2008 R2?
I have a user who has been granted db_datareader in a database and nothing more. She is reported to be able to use Studio to right-click on an object (table, proc) and view the DDL. I have not...
View ArticleIs there a way using policy based management to determine if a database is...
Specifically, on SQL 2008 R2, I want to check every database and if the recovery model is FULL, I want to ensure that it's also configured as the primary DB for log shipping.I've looked through the...
View ArticleSending database backup to vendor
Hi,We have one application that have some issues. Vendor ask us to send database backup to test in his environment.I am not sure what is standard practice or what other DBA's are doing. Do we need any...
View ArticleSQL Server 2005 RAM Usage
We have an issue with SQL Server 2005 using more memory than is available on our system. Our server is running Windows Server 2003 and SQL Server 2005 with 3.2 gigabytes of RAM.Every month or so the...
View ArticleMS sql server 2008R2(RTM) STD 64 bit, Temp db size is continuously increasing
Hi AllMS sql server 2008R2(RTM) STD 64 bit, Temp db size is continuously increasing not releasing used up space , please suggest us what is the problem with my temp db ?i executed below query ,...
View ArticleTemp db size is increasing not releasing space
Hi All MS sql server 2008R2(RTM) STD 64 bit, Temp db size is continuously increasing not releasing used up space , please suggest us what is the problem with my temp db ? i executed below query ,...
View ArticleDatabase access
I am a freshman in this field and don't know much about how it works... but is there a way to access the database server using an URL address? Is anything required on the database server to access thru...
View Articlesql stats appear to not auto update for a given table
We have a table (D2545) that appears to not be regularly updating its statics which leads to inefficient query plan/cardinality issues. Global statistics settings for [AcmeIndex]: Automatic update...
View Articlehow to split records???
hi,column1 column2A 100,200,300 B 400 C 500,600in the abow table i need split records like bellowcolmun1 column2A 100A 200A...
View ArticleCopy a database from a production machine to a development machine - sql...
Cant take the production machine offline just to get a copy of it down to a development machine and replace the version that is there.So I tried the copy database feature today for the first time, and...
View Articlelinked server
Hi, I connect two server sql2008 and sql2012 using linked server. I successfully connected. I connected sql 2008 as linked server.I insert data through linked server. I got some error. that error are...
View ArticleSQL Server and RAM utilisation
Hi All,I am loading a table of data(1TB) from one server to other, I am loading it through SSIS using execution utility. Initially when i started the process i noticed that the load take 60 Secs to...
View ArticleI got above error whenever my server rebooted only.
Getting error: BackupDiskFile::CreateMedia: Backup device 'C:\Backups\SharePoint\spbr0004\00000008.bak' failed to create. Operating system error 3(failed to retrieve text for this error. Reason:...
View ArticleSQL 2000 Job Agent Viwer
Hi AllI am connecting to SQL 2000 using SQL 2008 Management Studio. And would like to create a loing/user which can view the SQL Agent Job only. I found only when that login has sysadmin right, so that...
View ArticleHow can I reach databaseB from default connectionstring to databaseA
Gents,I want to reach another database dbB,mywebsite uses astandardconnection stringto dbA (dbA anddbB are inthe same server),and I want retrieve data fromdb Busingsqlquery (queryis performed fromthe...
View ArticleTempdb Log showing a -5.5MB available space available - .5MB allocated
Not sure why our tempdb log is showing a negative amount for available space. We had this situation for the data and opened up a separate data file for each of the 24 processors. Should we do the...
View ArticleThe provider ran out of memory
When I try to open excel file, I get the following error(the same is if i try it with linked server):SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0;Database=c:\Temp\excelFile.xlsx',...
View ArticleMens. 102, Nivel 15, Estado 1, Línea 3 Sintaxis incorrecta cerca de '('.
creo lo siguiente:CREATE PROCEDURE [dbo].[COR_ConsumosMensuales_ConSaldo] @cTipoFiltro char(4), @cFiltro_Ini varchar(500), @cFiltro_Fin varchar(500), @cFiltro_Bod char(600), @nAncho numeric(6, 2) =...
View ArticleCardinality estimates on a parallel join are wrong
Hello everybody,I'm having a problem with pretty simple query where the cardinality estimates seems to be off and usual methods that I knew for this kind of problem don't help.The query: SELECT...
View ArticleExport the data form tables not from views sqlserver 2008 R2 failed?
I have a requirement.Export the data between the databases which both databases having same tables,views,procedures....When i select the option 'copy tables or views...'.it is selecting all(both views...
View Article