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

Linked server query to retrieve data from two different sql instances

HI Team,I know how to use Linked server query to retrieve data from two different sql on premise instances.I would like to try the same on sql server instances hosted on azure.When I connect to sql...

View Article


Evaluation period has expired SQL 2014

Today we have started getting this error when we try to open SQL Server 2014 Management Studio.The install was done using the correct media with the appropriate product key.I have:Gone through the...

View Article


What is the need of OUTPUT parameter in Stored Procedure?

Hi,I am not clear about the use of OUTPUT parameter in stored procedure as we can return any value using select query.Can anyone clarify by simple example.Thanks and Regards,Anujit KarmakarAnujit...

View Article

java code to retrive data from sql server stored procedure which returns...

Hi Team,Can any one help me on java code to retrieve the data returned by SQL server stored procedure which is of CURSOR VARYIGN OUTPUT type and display the details on console.Thanks for your valuable...

View Article

Script to find out login failed for which database.

Hi Experts,I know how to find out login failed users randomly, but I need to find out to which database these failed logins were associated with?Can you please let me know is there any script with...

View Article


Image may be NSFW.
Clik here to view.

Kill vs Restart Transaction

Hello,Can you more explain about this?  Or give me example?

View Article

How to install SQL Server 2008 five parts .

Hi experts , I have downloaded SQL Server 2008 R2 in 5 parts and now i wanna install it . How can i install SQL although of it's multiple parts ? note :  i wanna install it on windows server 2008...

View Article

Trying to download SQL Server Express, Download link redirects me to start of...

Hi. I can't seem to complete the registration process for downloading SQL Server Express. Is anyone else having this issue? I've used multiple browsers and multiple accounts, but they all run into the...

View Article


Having trouble

I have the below code and want to run a sub query but keep getting a syntax error:Msg 156, Level 15, State 1, Line 11Incorrect syntax near the keyword 'FROM'. the field...

View Article


How many databases we can add in aways on replica`

Hi All,is there any limition in AlwayOn to add database in secondary replica?Regards,Pawan SinghThanks

View Article

Image may be NSFW.
Clik here to view.

How do I merge two rows only if there is the TagWidgetIds are same but the...

I have this stored procedure which generates the following output.The query which generates the output from the stored procedure is as follows:SELECT tat.[agent-id], tat.[agent-guid], tat.[agent-name]...

View Article

How to convert a datetime field to a date field in SQL

Hi,I embedded a SQL query in excel that gets some datetime fields like "TASK_FINISH_DATE" .How can I convert a datetime field to a date field in SQL in a way that excel will recognize it as a date type...

View Article

Find out time my instance went down

Is there anyway that I can find out the time an instance went offline? Does the last entry in the error logs show this? One on my instances went down during the night and I need to know the time this...

View Article


Solid way to move SQL mdf/ldf files to new drives.

Hi everyone,May it is seems is a stupid questions?What is the best way to move huge databases from drive 'A' to drive 'B'?I'm looking for "the best".Thank you.

View Article

Trying to Create a Permanent Association Between Two Tables

I've two tables in SQL Server 2014, in database named cncI wish to create a permanent association between the two tables, with referential integrity.  I cannot find, in all the books I've gone through,...

View Article


Need to change multiple row of query into single row in sql server

Dear Experts, But i need help in SQL SERVER Badly.please help Here is my SQL SEVER QUERY. Need to change vertical execution of query into horizontal in sql server SELECT TL.TERMINAL_ID,T.IP_ADDRESS,...

View Article

Append vertical row result into Horizontal

Dear Experts,                        I want to append vertical row result into horizontalCREATE  TABLE  #mable(mid INT, token nvarchar(16))INSERT INTO #mable VALUES (0, 'foo') INSERT INTO #mable...

View Article


Error in connecting to SQL Database

Hi everyone,In the past, I've remoted into our domain controller which houses our SQL database. From there I've been using the Microsoft SQL Database manager to run queries. However, I would prefer to...

View Article

Remote Connection Rights?

Hello all, I'm running SQL Server 2008 R2. I'm trying to connect to a database I created using Access from my PC. I get the error:Connection failed:SQLState: '08001'SQL Server Error: 17SQL Server does...

View Article

SQL Server design window not showing

I installed Microsoft SQL Server Express 2014 and I connected it to my Microsoft Azure database. When I try to create new databases or tables in the Management Studio, I only get a query window with a...

View Article
Browsing all 4729 articles
Browse latest View live


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