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

CASE Question

I have a case statement that pulls days, hours and minutes from a number that represents total minutes: CASE CAST(m.multi AS VARCHAR) WHEN '1' then CAST(m.elapsedtime/1440 as varchar(20)) + ':' +...

View Article


Select by Location. Select Into.. No column was specified

Hello.. I am starting out as a new user with Sql Server Express 2012.I'm using the information in the AdventureWorks2012 database andhttp://msdn.microsoft.com/en-us/library/ff929109.aspx I can run a...

View Article


Error in datetime setting

If try this in SQL server error occurs at line 9DECLARE @patient_id bigint,@exam_date datetime,@exam_seq smallint,@save_datetime datetime,@edit_datetime datetime SET @patient_id=1 SET...

View Article

table column

Hi,In my asp.net application in one section illness types designed wit labels and textboxesIllness typesinjurieslbel    injury.textSkinDisorderlabel  sd.TextPoisioningslabel...

View Article

Statistics and REBUILD indexes

Hi TeamAny performance issues 1st we have to check update stastics job and Rebuild index jobs.Why we have to create Update stastics jobs and Rebuild index jobToday I have checked fragmentation level...

View Article


Cal License

how to add user cal and device cal in sql server 2014

View Article

SQL Scenario

Hi Everyone ,I am looking for below solution using sql .create table #temp( id varchar(10),value int)insert into #temp values('A',-9),('A',1),('B',-5),('B',3),('C',12),('C',-2)Input...

View Article

Image may be NSFW.
Clik here to view.

How do relationshiped tables behave

Hi!I'm not sure if should be asking this in vb.net forums or sql forums. So please forgive me if i'm in the wrong place. I have this collection of relationship tables in my sql server. In my previous...

View Article


Record Change Tracking

I have an sql database that has item table containing item number and price. I need to create a table that reflects the time and the new updated price value whenever the price is changed. I am not an...

View Article


Inner Join within results?

So if an item is a bottle, it will have a unique BottleKey and Null for CaseKey and if an item is a Case, it will have a unique CaseKey and Null for BottleKey. However, the PrimaryIDs are the same for...

View Article

SQL Server 2012 Licence

I have a 16 core CPU system and I need to build a 2 node SQL Server 2012 Enterprise Edition active\passive cluster. So how many SQL Server 2012 licences we need to purchase.

View Article

How to register a non-local database

Hi All,I am fairly new to ms sql server 2008, which has been installed to my workstation.I have been trying to add a database which is in a ms sql server 2000 that resides in a another machineMy...

View Article

Latch timeout stack dump

=====================================================================                                                   BugCheck Dump...

View Article


reclaim space issues

Can you provide a little more detail on this?  The fragmentation will occur on the individual file groups correct?  Is there anything we can do to correct this? If we do nothing, will SQL server...

View Article

SQL Server Sand Box with SharePoint 2007

I would like to know what is a SQL Server sandBox. We dont have access to SQL Server and we use Microsoft Access as database. My question is if we get permissions to use sand box can we use it as a...

View Article


Interview question on SQL Server

How you will you load csv file with address field which is having multiple values in SQL.2.What is dynamic sql and if you want to print it before executing then how will you print it withformatting for...

View Article

witness permissions

Please help me in what rights to be  granted   to connect to the witness server in order to set up mirror. Currently I'm unable to connect using my domain admin account during the mirror wizard window.

View Article


Newly added field

HI,We used to have a form which has around 10 fields in it. Later, a new field(it accepts just yes or no) was added into it.For all the new records that were created after the new field was inserted,...

View Article

Set out of range value to a time datatype in sql server 2008

Hi,I have a variable set to time datatype in SQL server 2008. I need to set a value more than 24 hrs to that. Is there any way? I get an error like Conversion failed when converting date and/or time...

View Article

Failed Virtual Allocate Bytes: FAIL_VIRTUAL_COMMIT 8192

Can anyone please review this and give your recommendations:2014-08-31 01:00:36.85 spid6s       Failed Virtual Allocate Bytes: FAIL_VIRTUAL_COMMIT 8192 2014-08-31 01:00:36.85 spid6s       Memory...

View Article
Browsing all 4729 articles
Browse latest View live


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