Quantcast
Channel: Forum Getting started with SQL Server
Browsing all 7129 articles
Browse latest View live

backup related

from one database .mdf file deleted how recover it?with backup how to recover i know it..with out any backup,is there any chance to recover..?

View Article


single update query of single column

select  status from t_statusResult ========== N S U N NNeed Update Query : N = U, S = N , U = SShanmugaRajIt is an table with Packge_ID , STATUS

View Article


TEMPDB & Model Database Dependence

Hi allI'm just looking to clear something up regarding SQL startup, TEMPDB and its dependence on the Model databaseI have a "non-default" TempDB - by this I mean that I have Moved it to a different...

View Article

Identify Orphaned Users

I am using sql server 2012 and have orphaned db users.How to identify which are orphaned users and which are not?Much appreciate if i can get a quick response in this regard.Thanksvemurudivya

View Article

get the value after \

  Criteria is need the text after first right "\"Get FileName from below string'C:\DataFolder\File.csv''F:\DataFolder\FileFolder\Datafile.csv' Result ====== File.csv Datafile.csvShanmugaRaj

View Article


disable SQL server filestream

Hi All,I wan to know the performance impact after disable/remove the filestream feature in SQL server 2008 R2. Please also suggest what the bestway to disable the filestream feature it's completely...

View Article

Quickest and most efficient ways to handle data

Hey everyone..I would like to start a discussion to understand what are the different quickest and most efficient ways to handle the following scenarios:1) How to move trillion recordsa) From one SQL...

View Article

DEAD LOCK

What is dead lock ?how to avoid and how to find out(error log) by step by step.vemurudivya

View Article


LOCAL TEMPORARY AND GLOBAL TEMPORARY TABLE

What is local temporary table and global temporary table? How to create and what is advantages ?vemurudivya

View Article


Service Pack Upgradation

Hi,While upgrading SP i am getting below errror.Please helpERROR: sql server setup has encountered the following error:The NT service 'MsDtsServer100 could not started.Error code 0X84B20001

View Article

Help with UNION query

Hi experts,I have a UNION query from OINV and ORIN (Invoice and Credit tables), which I want the result to be in one line for both invoice and credit. Any ideas how I can do that?Here is the...

View Article

A few questions

Hello,1. What is the reason for having more than one temp db? Performance, but how does it help?2. I saw a SQL Server (user DB) that only had .ndf files, even the Primary was a .ndf. why would you do...

View Article

Image may be NSFW.
Clik here to view.

SQL: Handle Duplicated or NULL or Blank or Wrong parameter values by user input

Dear ExpertsI have 2 questions for handling 2 cases with using the below stored procedure.My sp here: ALTER PROCEDURE [dbo].[sp_chk_itemcode]@item_code nvarchar(4000) AS BEGINSET NOCOUNT ON; select...

View Article


Backup of TempDB Database in SQL Server 2008

Why Cant we take the Backup of TempDB Database in SQL Server ? I want to know the reason behind it. I have got it everywhere that we cant execute the backup of TempDB, but what is the genuine reason...

View Article

Image may be NSFW.
Clik here to view.

results in one line

Hi there. i would like to ask for some suggestions. i have an output below. Now i have the startdate and End date. i Would like to ask if i can possibly joing them in one line or avoid showing those...

View Article


committed and uncommitted transactions

what is  committed/inactive and uncommitted/active transactions and difference them?vemurudivya

View Article

server site trace and client site trace

what is server site trace and client site trace? and difference?vemurudivya

View Article


SQL server Compatibility option

My impression was that compatibility option allows you to use current version features without breaking any older version features including syntax or deprecated features. In my case, I restored from...

View Article

Image may be NSFW.
Clik here to view.

Unable to Uninstall SQL Server 2008 R2 on WIndows 2008 Server

I am trying to uninstall SQL Server 2008 R2 on a server in which I am trying to reinstall after failure to upgrade.  See earlier post...

View Article

Need to upgrade a server running WS Std 2003 32bit and SQL std 32bit to WS...

I have already found that to do it I will be best to perform a full clean install.1. Is there an upgrade option or do we lose all the money we paid for SQL 2003 licenses2. Our server has 2 Xeon quad...

View Article
Browsing all 7129 articles
Browse latest View live