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

Stored Procedure issue

Hi Pituach,Below is the Table structureTbl_ProductCreate table Tbl_Product ( Product varchar(50) NULL, Code Varchar (50) NULL )Insert into Tbl_Product values('PEN','A') Insert into Tbl_Product...

View Article


copy agent jobs, users and logins from one instance to another

Hi, Can we copy agent jobs, users and log in that are already created from one instance to another, before we restore the databases?? The SQL version that I am using is 2008.

View Article


SQL Gallery Item VM - Cannot log into SQL server created with VM

Hi All,I am having an issue when I will spin up a SQL VM, under the gallery item SQL Web. Once I log into the VM after it is created, I go to the SQL Server Management Studio and try to log into the...

View Article

Calculate total from a Union query

HiI want to UNION 3 query and need to create a total column. Below My tableID    Date           NoofVisit1    4/21/2014    11    4/22/2014    11    4/23/2014    11    4/24/2014    1Another queryID...

View Article

Licensing For SQL Cluster

Hi,I would like to setup a SQL server failover Cluster as described as URL below.http://msdn.microsoft.com/en-us/library/hh231721.aspxUnderstand that there will be 2 servers and shared storage are...

View Article


Copy SQL database tables to another SQL server

I am all new to SQL Server, and I am struggling to find a way to copy some tables (not all) from one database to another (on different SQL Server).I’ve searched for ‘copy’ option in SSMS itself, but...

View Article

what are the Consistency errors

Hiwhat are the Consistency errors  and how it happened for a databaseadil

View Article

Log files are bigger in size

Hi,My Log files has grown very bigger in size..How do I make the log files smaller in size without losing any data??Please Help...Regards,Kunjay Shah

View Article


difference between sql server 2005,2008, 2008r2 and 2012 in installation?

Hi What are the difference in installation of 2005, 2008 and 2012 and what are the features are added in installation?Thank you

View Article


How to write the query using pivot table?

Hi,I am using the below query using pivot table. i have year column and employee id column in one tableSelect...

View Article

Replace apostrophy issue

So some wise guy decided to enter in the string " 'NULL' " if a field was blank.  I had converted a DB from Access into SQl and am discovering some annoying issues.  This is one of them.  I wanted to...

View Article

Why the extra constraints?

My Files table has a one-column primary key named PK_Files, clustered. When I run a fragmentation query I get results like this:...

View Article

Correct installation order for SQL Server 2012 and Visual Studio 2012

What is the correct installation order for SQL Server 2012 Enterprise and Visual Studio 2012 Ultimate?I have read so many conflicting responses online and would appreciate if someone could clarify? Do...

View Article


Writing Queries

Is there a book online or reference guide of the language used in writing queries in Microsoft SQL Server Management Studio?

View Article

Things to consider while Creating Indexes in the tables

Hi All,We have some application slow issues becasue of the tables which it is calling are Heap. There are Primary keys created on few tables though. I have to think and design the indexing on those...

View Article


Maintenance plan

Hi gurus. as you can tell from my previous post, I am very new to sql, so take it easy on me.I am trying to get ahead and create a maintenance plan for on of my database, so I would like to know what...

View Article

SQCRS_Exec: State:42000 Error:[Microsoft][ODBC SQL Server Driver][SQL...

I keep getting this error even though I have done all the suggestions. This was a restored database everything worked well for 2 days and now i am getting this error. I have autogrowth on and have...

View Article


"Network-related or instance specific error", Works OK for Administrator

I've been handed a legacy .Net Windows application that was previously used on Windows XP, and asked to debug a few problems encountered on Windows 7 clients.  The original developers are all gone....

View Article

I can not connect to local SQL2008 server locally by sqlcmd.

I use win2008R2 and SQL2008R2.I can not connect to local SQL2008 server locally   by sqlcmd -E -S localhost\MSSQLSERVER.The result was HResult 0x35.I saw the link below and made sure that instance name...

View Article

NEEDED: More SQL Server Answerers

We need more answerers in this forum! The basic idea is that if our answers get marked, then we know which threads to focus on (no questions left behind), and the people who answer the questions can at...

View Article
Browsing all 8979 articles
Browse latest View live


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