Quantcast
Channel: Forumul SQL Server Database Engine
Browsing all 15780 articles
Browse latest View live

why does PLE ever go down when we still have untouched RAM?

We upgraded the server last weekend from 12gb to 32gb.Part of the reason was low PLE numbers.So now the target pages number has gone up - but only to about 10gb.  Well OK, maybe we have more RAM than...

View Article


Why there is only one record per page for the second extent?

I did the test using the following script,  and I found there was  two records per page for the first and third extents , but there was only one record per page for the second extent, Why ? BTW, you...

View Article


I am facing error while executing create procedure statement with some other...

Hi,Am facing error while executing create procedure statement followed by other insert and update queries as client needs all the queries in single script file."Msg 154, Level 15, State 1, Procedure...

View Article

Does it make sense to partition the table if everything will be on a single...

Hello,I have some very large tables in my database, but a substantial chunk of this data is "old".  Due to the circumstances beyond my control, I am not allowed to remove this "old" data.  The other...

View Article

How can i check the column which having all null values

We have a table named "TEST" with 4 columns (Col1, Col2, Col3, Col4) with following data - 1, Test, Exam, Online NULL, NULL, NULL, NULL 2, NULL, Practice, NULL NULL, NULL, NULL, NULL NULL, NULL, NULL,...

View Article


Database Mail error - Whitespace is not allowed at this location.

database mail is giving below error1) Exception Information =================== Exception Type: Microsoft.SqlServer.Management.SqlIMail.Server.Common.BaseException Message: The read on the database...

View Article

MS SQL Login information?

Hi All,How can we find the last login information in sql server 2008, it means when was the user trying to login in to sql server.Thanks,SAAD.

View Article

Microsoft OLE DB Provider for SQL Server cannot get all the schemas?

I use MS SQL Server 2008 for Database Development. Now, I need to get all the tables in SQL Server via OLE DB For SQL Server. However, after querying, only one system table called sysallocunits is...

View Article


Is io stalls on sys.dm_io_virtual_file_stats as bad thing?

I am confused by this counter. It says I have a high percentage of IO stalls. What does this mean? It seems to me that this is the ratio of reads/writes in a database file compared to all the database...

View Article


SQL 2000 export logins and database role mapping

hi allI am going to migrate logins from SQL 2000 to sql 2008are there any script that I can script out the login,database users, and database role mapping?thanks

View Article

(1 row(s) affected) Msg 8152, Level 16, State 14, Line 2 String or binary...

I am working on a project for college and I cannot figure out why I am getting these errors. Here is my code and errors I am receiving. in addition, I none of the data is being entered expect for two...

View Article

Creating View for Select statement

Hi Everyone,How Can we  create a view for select statement? Also one more question Syntax to Join other table to fetch Company Code Column?Please provide with example.Regards,Chinni

View Article

Application connection to SQL Server unstable!

The connections from the application to the SQL Server is unstable with the application users reporting freeze in their application screen and again connection starts working after some time. I have...

View Article


After doing an ALTER TABLE, inserts not working correctly

I upgraded my SQL Server from 2008 to 2012, and everything worked o.k.I then added three columns to some tables. I used the following script to alter the tables: private int ModifyNewColumns(string...

View Article

SQL Services fail to start after WSUS windows updates whether they have SQL...

SQL Services fail to start after WSUS windows updates whether they have SQL updates or not.#### Application Event log - Windows Server 2008 R2 Standard - SQL Server 2008 R2 EE #### 2013-02-19 - 3:33:13...

View Article


Memory exercise

Hi Everyone,I am new to this forum and basically new bee to sql administration.Here is what I am looking for. Test Environment                   I have 4GB physical memory on my 32 -bit machine...

View Article

t-sql question

I am trying to create a t-sql script when ever blocking happens with the following condition in a SQL db I want to get alert: If there is a session blocking another session for more than 5 minutes then...

View Article


Control Access to SQL Server Visual Designers

Is it possible to control access of a user to the visual table designers of SQL Server e.g. the table designer or the view designer. What i want to achieve is that the changes to the SQL Server objects...

View Article

io latency from sql server

Hi All,I want to find out IO latency for all files. For that i would like to automate the below script taking dbid and fileid as parameter for sys.dm_io_virtual_file_stats(null,null) function. How to...

View Article

Re:Backup Issues

i have 2 servers1st server ip is 0.0.0.98 this server having C,D Drives only.2nd server ip is 0.0.0.99 this server having C,D,E Drives ..i am log in to 0.0.0.99 server tire to take the backup through...

View Article
Browsing all 15780 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>