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

How to achieve Randomness in Result set

I want the randmonness in the result set. I am able to get it through newid() function but its expensive.The RAND() function doesn't achieve the randomness I want and it seems to be executed once per...

View Article


Secondary skill for SQL DBA's

I would like to know which skill combination is on demand along with SQL DBA by considering Pay and demandSQL DBA + SSIS or SQL DBA + Biz Talk Server or SQL DBA + Share Point or SQL DBA + MS Dynamics...

View Article


Display One CompanyCode values instead of other companycode values

Hi, I got stuck at one scenario. The requirement is, I have CompanyCode, ItemNumber and PlannerNumbers in a table and the values are shown below,CompanyCode ItemCode            PlannerCode 10...

View Article

growth rate of DB

Hi All,How to find out the growth rate of DATABASE in MB for a particular month?How to export database diagram into PDF format?

View Article

reading text from database instead of reading string

hi i created a cms for a razor based website.so i save a text into a database as text and it's also show as text int the database (with new lines etc.)but when i read it to display it as text in the...

View Article


Image may be NSFW.
Clik here to view.

A chance for YOU to play for the SQL Server team, in the TechNet Guru World Cup!

The World Cup is here again!Not balls... brains!And YOU have been selected to play on our team!Yes forum reader, step up and take a shot!Slam some techie tips in the back of our nets!No dribbling...

View Article

Setting up an SQL database, completely new to the topic :(

Hey guys, I'm completely new to SQL and am just starting to get my head around it! I needed to know if there are any database hosters that allow you to access (get and change) the data from outside the...

View Article

regarding sqlserver

Hi,   I have a table with a column EmployeeName. The data inside this column is like a, b, c, d etc.Now, I want to show the data as row items like a in row1, b in row2, c in row3 etc...

View Article


characters field

I am working with a database that contains multiple fields within the tables that are being used for Clinical notes.  The fields are defined as VARCHAR(3500).  But when I try to extract data (either...

View Article


FInd out the list of all values of ds_name

Problem,I am new here. Need some help. I have a database that has 370 tables that match %_REF_% naming. All of these tables have a column call ds_name. I need to get a list of all values of ds_name for...

View Article

When digged out problem in ASpState db

When digged out problem in ASpState db via profile i check @appName is passing as 9105e526    DECLARE @return_value int,    @appId int        EXEC @return_value = [dbo].[TempGetAppID]    @appName =...

View Article

MS SQL Track

Hi AllI have been a Sysadmin for the past 5 years, certified in Server 2008 and Server 2012.I need to get into the SQL side of things as I have a new job at a big Business Intelligence company.What is...

View Article

SUM from two tables, then sort by publisher and country

Good morning people!  I have two different sales tables and i want to SUM the quantity and FEE for storeX and storeY from book_sales(isa), with quantity from all sales in the financial_report(xo). Im...

View Article


backups and databases same directory

Is there any risk in writing backups to the same drive that the database resides on on a virtual server whereby the data is on SAN storage, and ultimately the two drives arent different hardware...

View Article

logfiles last backup SQL 2005

Is there a query to detail the last time the log files associated with all databases on an instance was last backed up? This if MSSQL 2005?

View Article


DBCC CHECKDB routines

1) Is there anyway to check when an admin last ran DBCC CHECKDB per database in a SQL Server 2005 instance? ideally via tsql?2) Is there any general best practice how regularly you should run it? I.e....

View Article

get data for perious month

create table TestDate (Sno Int, Name varchar(100), DateofJoin datetime) insert into TestDate values (1,'Raj', '2/21/2014') insert into TestDate values (1,'Britto', '6/12/2014') insert into TestDate...

View Article


failed backup report

Is there any SQL query that could be used to identify backup success and failure logs for all databases on an instance? i.e. where the backup ran fine, and where the backup failed?

View Article

Need .Net 3.5 SP1 !

Hi,In windows 8.1 i install sql server 2014.In windows 8.1 install .net 4,but sql server force me to install .net 3.5 SP1. Why?

View Article

Query for difference between dates

I know I can use the DATEDIFFHow can I write it if StartDate and EndDate are in these formats?StartDate: 2006-09-20 00:00:00.000EndDate:   2013-09-20 18:20:53.000I want to find the number of days...

View Article
Browsing all 8428 articles
Browse latest View live


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