Quantcast
Channel: ฟอรัม Getting started with SQL Server
Browsing all 8428 articles
Browse latest View live

transaction log backup details

Team,Need to know what time transaction backup has happened for last 5 days, any query to find this information in the database ?help is appreciated.Thanks PGR

View Article


Image may be NSFW.
Clik here to view.

SQL Server Database Restoration Error.

hi ,when i'm trying restore database after reaching 100% of database restoration i'm getting below error, please suggest what is the reason behind of this.Thanks & Regards LAKSHMI NARAYANA REDDY.L

View Article


How can i get decimal values in of a column

I have this query where i am getting average of a time i want to get the value in decimal select Call_assign, count([Call_assign]) as CallsReceived,(avg(datediff(ss, start_time,end_time))/60) as...

View Article

Cannot send mails to mail server. (The operation has timed out.)

I have configured database mail in sql server 2008 r2 on my local machine.While testing I have observed that some of mails are not getting triggered.Log file shows following message-The mail could not...

View Article

space is not released after truncating the table

Team,We have a table of size 550gigs in size and we truncated the table , truncated sucessfully but space is not released in os level, what action we can take to release the space and this table has...

View Article


Data Type

Hi,Can you please suggest, If column contains multiple null values, what is the preffered datatype in SQL Server 2005.Regards,Shaun

View Article

Import an Excel Spreadsheet

How do I import an Excel spreadsheet into an SQL table?

View Article

MS Access 2007 random dropped connectivity with sql Server 2010/2012

Hi The setup is, ms Access 2003 is used as the frontend, with the use of VBA, tables are linked on the SQL Server 2000.  Usual transactions are inporting a textfile to the SQL Server, using MS Access...

View Article


Format Output Data

Hi,How can I format date as mm-dd-yyyy and minutes as 999.99?Here is my code:SELECT A.Employee ,Min(A.Work_Date) As [Start] ,Max(A.Work_Date) AS [End] ,Sum(A.Regular_Minutes)/60 As [Reg Hrs]...

View Article


Regarding sqlserver user defined functions

Hi,   How to write dynamic user defined function?it means one time we take some columns from function, other time we take another columnsplease help me

View Article

Install SSMS on Win RT 8.1 ?

I recently purchased a Surface RT.  I'd like to install some development tools, mainly SSMS client.  Is this possible on an RT device?

View Article

Regarding sqlserver user defined functions

Hi,  How to write user defined functions dynamically?Please help me in any situation

View Article

Image may be NSFW.
Clik here to view.

IO Timing problem

Hi. I have real problem with getting right "Write time" statistics. I'm trying 2 different approaches: 1. base on dm_io_virtual_file_stats and io_stall_write_ms column 2. base on @@IO_BUSY...

View Article


Sql server not starting

Hi I have only files from catalog DATA form my SQL Server 2008. After I installed sql server and replates file in katalog DATA server not starting.Where I have problem, what I need to do to work?...

View Article

Question on sysfiles

I have a question on select * from sysfiles?Recently i restored a DB from prod to standby server. I need to know the path so when i checked with "Select * from sysfiles" it showed the path of the prod...

View Article


help me to generate the query

The database scheme consists of four tables:   - Product(maker, model, type)  - PC(code, model, speed, ram, hd, cd, price)  - Laptop(code, model, speed, ram, hd, screen, price) - Printer(code, model,...

View Article

How to use Transaction Log shipping for Diaster recovery

Hi,I'm implementing a new SQL disaster recovery Plan and planning to use T-log shipping to secondary server.I have successfully enabled Transaction Log Shipping to secondary server by creating T-log...

View Article


how to search values in SQL server column

Dear all,  I am having a column A and B in my table. I want to ensure that any value in column A should not appear in column B and vice versa.  A        B100     400200    100300      500should not be...

View Article

CmdExec

Hi TeamHow can we increase the CmdExec thread count from 20 to 40. How can we perform this please suggest us.subu

View Article

Lock Timeouts/Sec is CRITICAL

Hi All,Today in the morning it has been observed that lock timeouts per sec is HIGH hence the service is in critical state. Would you please suggest us the procedure on how to bring this back to NORMAL...

View Article
Browsing all 8428 articles
Browse latest View live


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