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

Image may be NSFW.
Clik here to view.

Report builder report shows blank data

hi everyone!I am building a report in Report Builder 3.0 and the first row on two of the reports is blank for some reason! I am not really sure why and cant figure out why the report would do this. All...

View Article


Lost sql database relationship when copy the database.

Hi....I am creating copy of my old sql database using sql server express edition. But when I create copy, the new database table relationship getting lost their foreign key constraint after opening the...

View Article


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

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

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


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

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

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


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

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

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

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


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

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


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

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

SQL Server 2008 backup

How to make a backup of data in a SQL Server and use it on another SQL Server?

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
Browsing all 7129 articles
Browse latest View live


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