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

How to insert/update in Table - in another SQL Database

HiWe have employee expenses data entry  application in our company. Developed in Dot net with SQL server.Every employee will enter the entry once it is saved , the  same data we should write into...

View Article


How to setup a static cursor

I have a cursor that reads records from a table. I do not want any changes to the table data to be reflected in my cursor.  My cursor does not do any direct updating. I do use an UPDATE on the base...

View Article


server editions of sql server and specialised editions of sql server

hi,iam new to sql server. i have started reading an article in MSDN regarding the editions of sql server.the article says with the different headings as "server editions of sql server 2008r2"which...

View Article

Case filter in where condition based on parameter

hello all,I have one filter in my Storew procedure ..@is_Delay_Files Bit,now , my Col1 have values of two types  >0 and <0 (i.e. -1,-2 etc.)now , what i want to achieve is when i pass 1 to...

View Article

Need a SQL Server 2008 R2 Enterprise Edition download link

HiI would like to download SQL Server 2008 R2 Enterprise Edition, could anyone help me with the link

View Article


32 bit version on a 64 bit OS

Hi,I have been using SQL server now for a year (self taught). I have recently been given a new laptop by work and advised to install my own SQL Server from my MSDN subscription.I have however...

View Article

How to have a quick start of SQL Server, or some exceices

Hi experts,I've learned SQL Server when I'm at school so I know a little t-sql commands but I'm not so familiar with them now. So I want to recall what I learned with some simple exceices. Can you...

View Article

Image may be NSFW.
Clik here to view.

unable to login to management studio

hi,I have installed sql server 2008r2 express version sucessfully but iam unable to login to the management studio.i took a forward step to check the sql server servies but the list depicts me empty....

View Article


I need help writing a stored procedure

How do I update several tables with columns that store social security number as a single transaction? I have over 70 tables to update the ssn with correct ssn.The database I'm working on is not...

View Article


Migration from Clustered environment to VM

SQL instance : 2008 R2Problem:  We are planning to migrate our sql server from clustered environment to VM.  There are several SQL instances on that cluster.Are there any instructions/tools available...

View Article

How and where to check when was the password of account got updated for...

How and where to check when was the password of account got updated for windows services?Rahul

View Article

Maintenance activity through command line

Hi All,I'm trying to automate the "Maintenance plan". I was able to do it through GUI by logging into SQL studio.But, I'm supposed to automate by embedding the SQL command into jython.Would be...

View Article

How to generate row_number for more than the no of records in the order by...

Hi All,I have a query which contains Order quantity, order date and Row_number as Id. The below code produces 15 records as well as row_number for those 15 records. But I need row number for the next...

View Article


How to update the database when the given backup is just the most updated data?

Hi Everyone!Please help me to restore a backup from a server to another server.Production Database used SQL Server 2000. We used SQL server 2012 in the office for the backup of data. According to...

View Article

Should I rebuild my read only database every time I launch my server?

I'm getting into web development, and I'm trying to get a grip on databases. In an app I want to make, there is a read only database that will be filled up with a large amount of data, which will be...

View Article


date difference between two dates

hi All,i have to right a stored proc to find the difference between two dates. for example of i give startdate as 4/1/2015 and enddate 14/1/2015i should get 1 year , 10 days and 0 months .i have tried...

View Article

how to substract dates from a year?

For Example something like belowDECLARE @StartDatedatetime  SET @StartDate = '20100101' SET @EndDate = '20130117' @StartDate = @StartDate - 5the outout should be 20091226

View Article


date difference

the below returns3 Year -5 Days 0 Months =1086 Days Continued servicebut the expected output is 3 years 0 months and 12 days please helpDECLARE @StartDate datetime DECLARE @EndDate datetime DECLARE...

View Article

Issue with connection

HI I hope you're having a great day today. I have installed SQL Server 2008 Express edition today and I would connect it to my web site project with is running on Visual web developer 2008 but I...

View Article

Creating a new SQL server to use in projects with Microsoft Visual Studio...

I recently installed MS Visual Studio Community 2013, and want to try out Microsoft SQL Server with some projects, but I cannot figure out how to. I have tried the followingCreating a new project of...

View Article
Browsing all 7129 articles
Browse latest View live


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