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

multiple instances

we have 6 standalone instances sql server 2008r2. we have planned to move all the instances to cluster envrionment with mulitple instances. we builted active/passive node windows server 2012 and sql...

View Article


Image may be NSFW.
Clik here to view.

127.0.0.0

what is local server?where do I use . or 127.0.0.0 connection?My SSMS is connecting to sqlexpress at the startup as in the picture. When i use . or 127.0.0. it does not connect anywhere.

View Article


SQL Server system setup

I want to connect 5 computers for a database system using sql server. I will make one of the computers as database server and the other 4 will be client machines. Which operating system should  I use...

View Article

BCP Utility Comma

I have the following problem. I need to create a .csv file with SQL (with the bcp utility). I can create this .csv file and the following data is inserted: 1","ad","dsa","333","","2","0","","","",""" I...

View Article

What is the equivalent RowVersion in SQL 2008 R2

What is the equivalent type to create a RowVersion in SQL 2008 R2 in an existing table so i could use this value to compare if a row has been changed since loading?Thanks

View Article


How to remove the OR clause in this query?

Hello Everyone,I have this query where i have a lot of joins and in the where clause there is a ISNULL and conditions based on OR clause.How to remove the use of the OR clause which may cause...

View Article

sql server agent not starting

I installed sql server 2008 r2 sp2 sql server agent is not allowing me to start it.I run SSCM right click agent but start,stop menus are disabled

View Article

Regarding Shrink log

Hello,I am using sql sever 2012 standard edition.This is production server, replication is configured.My log is 142 GB and the recovery model is simple.I am using the below query to shrink the log but...

View Article


Image may be NSFW.
Clik here to view.

new instance

I have a named instance of SQL Server as SQLExpress.I want to create a new instance. I create a new server registration as myservers but when using connection properties->connect to...

View Article


How do i get the approximate size of back up file required to save on disk...

hi i am face with problem that is i want to show the how much approximate space required for backup or .bak file to get backup using sql query because i want to show the required memory for backup file...

View Article

SELECT hangs despite Snapshot Isolation

- I'm trying to learn isolation levels.      SET TRANSACTION ISOLATION LEVEL Read Snapshot I thought this would allow me to issue a SELECT on a dirty row (I thought it would show me the clean version...

View Article

Automatic key assignment not working....

Hi,  The automatic key assignment is trying to assign a null value to the primary key(AccountID) on saving the record causing an error. Line is bold.Regards, BobCREATE TABLE [dbo].[AppGlobal](...

View Article

Updating Views in sql server

Hi,I am trying to update a view but the result is 0 row(s) updatedALTER VIEW vw_AuthorizedStationeries AS SELECT StationeryID, CreatedOn, StationeryName FROM dbo.Stationeries WHERE Authorized = 1 GO...

View Article


SQLException: Read timed out...

INFO   | jvm 1    | 2014/08/24 14:03:41 | SEVERE: [EXCEPTION].[com.datasweep.plantops.datamgt.exception.DataMgtException]: PlantOps.DataMgt: [Error initializing site 112 with guid...

View Article

Make my SQL code shorter

Somebody an idea to make this code shorter?SET NOCOUNT ON SELECT    [klant_ID] AS [_klantId]    , CASE             WHEN ([naam] like '%,%' AND [naam] not like '%"%') then '"' + [naam] + '"'...

View Article


Updating 2 tables in a view

Hi,Is it possible to update 2 tables with  single view join?I have:ALTER VIEW vw_AuthorizedStationeries AS SELECT Stationeries.StationeryID, Stationeries.CreatedOn, StationeryName FROM dbo.Stationeries...

View Article

Image may be NSFW.
Clik here to view.

127.0.0.1

I installed sqlserver 2008 r2 developer and used default instance. I also have a SQLEXPRESS instance which worksI can connect to the default connection using . or (local) directly without using...

View Article


Which RAID level is recommended for tempdb?

Hello All, I came to know from many different SQL forums is that RAID level 0 & 10 are recommended, If have a choise of options RAID 0,1,5 & 10, Please advise which one i can best used for?...

View Article

2012 Sql standard Core license

Hello,We currently have one sql server(sql server A). SQL server A has 8 cores (as per windows server task manager). Our current volume licensing summary says we have 8 quantities of 2012 Sql server...

View Article

run python script from sql server job and handle python error

I have a python script that automates a lot of tasks and uses libraries that aren't available outside of python. What I would like to do is create a SQL Server Job that calls the python script and...

View Article
Browsing all 7129 articles
Browse latest View live


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