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

Could not connect to the server

TITLE: Connect to Server ------------------------------ Cannot connect to ********. ------------------------------ ADDITIONAL INFORMATION: A network-related or instance-specific error occurred while...

View Article


nested order by

Could you please help me about the counterpart SQL server solution that mentioned in the link below for mysql:http://stackoverflow.com/questions/8864397/sql-nested-order-by/32049258#32049258

View Article


Is is possible to 'restore' the database from the 'raw' .mdf and .ldf files...

I wasn't sure which forum to post this under, so the 'Getting Started' seemed the most applicable to my situation as I have never really dealt with MSSQL before. I have a client that has POS software...

View Article

Selection of Records - date data

SELECT show_name, show_address FROM show -----------------------------------------------show_name show_addressDubbo 23 Wingewarra St, Dubbo Young 13 Cherry Lane, YoungCastle Hill Showground Rd, Castle...

View Article

Selection of Records - date data. DATEDIFF

SELECT show_name, show_address FROM show -----------------------------------------------show_name show_addressDubbo 23 Wingewarra St, Dubbo Young 13 Cherry Lane, YoungCastle Hill Showground Rd, Castle...

View Article


Unable to connect with [local] on my laptop

After successfully installing the SQL Server Management Studio on my local PC/Laptop, i am unable to "RUN" the sql server.I tried :MS SQL Server Management Studio > View > Registered Servers >...

View Article

unable to import xlsx file in sql2014

I Am trying to import xlsx file using import wizard in sql 2014 and I am getting this errorThe Microsoft.ACE.OLEDB.12.0 provider is not registered on the local machine.I then installed Microsoft Access...

View Article

How to find a column name without knowing the column name??

I was querying to find the first non null address value using the COALESCE function.And I got the correct result.But then I jumped into another question and i.e what if I need to find the column name...

View Article


Why is it showing a wrong table when it is not mentioned in the subquery???

I have a question in sql server with joins and subqueriesAnd the question is...Part 1: Inner query Write a SELECT statement that retrieves the minimum standard cost for products grouped in colour as...

View Article


installing SQL server 2012 R2

Hi Guys i am getting the below error when trying to install SQL server 2012 please advise  Microsoft.VC80.CRT,version="8.050727.4027",publickey Token ="1fc8b3b9a1",processsor or architecture is...

View Article

Permission / privileges to view SP source code

What should I grant a user / role to allow that user to view SP/table/views/etc source codes in SQL2008, besides granting DB_OWNER and / or DDL_ADMIN? Thanks

View Article

Is there a way I can shorten the below query into a single query?

I have the below query. IS there a way I can put this into one single query? If not, can I shrink it further anyway? Please advice. DECLARE @highRegion TABLE(regionId INT, countR INT) DECLARE...

View Article

SQL Server Database Instance Backup

I have two instances(WCTEST, WCPROD) in my SQL Database. I need a script which will perform the single instance backup by logging into that instance.Thanks,

View Article


Sql query to execute and import the result to csv file

Can you please share any code snippet that willExecute sql select query and automatically import the results to csv files

View Article

I want to how use order by clause row wise

Hi friends, i want to know how to use order by clause in row wise for example, suppose the rows is 10 20 30 40 so the output is should be 10 20 30 40

View Article


Replace multiple spaces with one space

i have searched for other theads on this but not been able to make them work. i have several fields that have multiple spaces betweent the City State and Zip Code. i want to be able to make only one...

View Article

Virtual Lab for 2008 clustering has errors on install :/

hi guys,was running the VL for 2008 cluster failover - first part of the server install checks lots of settings - should all be green normally, but various elements failed! :/  things like cluster...

View Article


Download SQL 2005

I have a very old and sick SQL 2005 (non Express) server today. My time machine does not go back far enough. I am looking for it to download - cannot find it searching Microsoft. Any help is greatly...

View Article

Logging

I'm trying to log who changes job owners in SQL Server Agent. I have looked at SQL Server Agent logs and SQL Server logs and did not see anything that highlights that.Where can I find that information?...

View Article

Pivoting a Query

I have a query with the follow results...

View Article
Browsing all 4729 articles
Browse latest View live


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