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

How to write Sql Query from a normal table?

Hello,I have created table as follows:Column1Column2Column3ABCAKLPMCWMCPMCand want to show the output like thisColumn1Column2Column3Column1 5Column2 5Column3 5A 2B 1C 4 P 2K 1L 1W 1M 3Print Column...

View Article


SQL Server 2012 Business Intelligence Licensing

Moving to SQL Server 2012 is a good thing . . . but it's not clear to me how to license it.The Business Intelligence Edition uses the Server plus CAL model. The licensing guide says:"To access a...

View Article


SQL Server 2012

Dear Sir/MadamI have just dowloaded SQL Server 2012.  When I try to log into the Managment Studio programmeI am asked to enter my server name into the box before connecting.  As I am a home user I...

View Article

SQL Server License Key

I am trying to update the license key for a SQL Server 2008 R2 without reinstalling the application. I was advised to download the file from the Volume Licensing website, burn it to disk and run it on...

View Article

error in ssms

in sql server management studio 2012 64 bit edition when i expand database folder or login folder and etc i see this error :TITLE: Microsoft SQL Server Management Studio ------------------------------...

View Article


Creating linked DB

Hi, I know it is possible to create linked servers in SQL Server. Is it possible to create linked DBs in SQL Server as well? I.e., I hope it is possible for a DB in the linked server to act like a...

View Article

Get start and end end dates by end flag

HiI have a result set which produces EndFlag for an activity.The resultset is like below.CustNo, ActivityStart, ActivityEndDate, ActivityEndActivityEnd is derived based on current ActivityEndDate and...

View Article

Database mail for invalid login

hi all How to generate alert or database mail for invalid login attempt in sql server 2008. if any body login with wrong username or password i want to generate alert or database mail to admin.please...

View Article


Setting value of a field on second field udpate

HiIn my table when a field is modified how can I set a second datetime field to the current time in the same table? Do I need a trigger?ThnakdRegards

View Article


error 27506, Error executing sQL script config.BaseSchema.

Hi,I run the windows installer on SQL 2012 SP1 running windows 2012.I encountered the error 27506, Error executing sQL script config.BaseSchema. Line 32. The create database statement failed. The...

View Article

Slow running query

Hi Team, I come across this query in many of the interviews,"Query is running slow and it takes long time than usual" 1)How to approach and fix this issue immediately when we get a call from...

View Article

Directory Server Configuration

SQL Server Details

View Article

about sql commands

 Hello,I have some questions about sql server 2000 EE edition, I am making few tables in a database on QA,I wanted to know that how can I add a new row in a table?My other question is that if we use...

View Article


Having without Group by

hi all  can anybody give example for having clause without group by clause.thanks.

View Article

The request failed or the service did not respond in a timely fashion....

Hi,How can I solve this problem of this error "The request failed or the service did not respond in a timely fashion. Consult the event log or other applicable error logs for details"?Thanks

View Article


Adventure Works for SQL Server 2012 Help

Hello,I wonder if anybody could explain each of the SQL Server 2012 Adventure Works file on this page:http://msftdbprodsamples.codeplex.com/releases/view/55330I'm OK with LT standing for light...

View Article

MS SQL Server 2012 and MS ACCESS 2010

Have couple of questions as listed below:Can MS SQL Server 2012 runs like true SQL Server in handling database as to serve queries in ordinary PC/ Notebook running on Windows 8 or Windows 7 Ultimate...

View Article


a Book for Learning MS-SQL

Hello, I am a bit comfortable using SQL, I am currently using SQLite3 for a small program I am developing using C++. However, I would like to learn the C++ API for MS-SQL so that in the future I can...

View Article

sql server 2000 transaction log full message in event viewer

Friends,db: sqlserver 2000Error: 9002, Severity: 17, State: 6 The log file for database 'mycasdb' is full. Back up the transaction log for the database to free up some log space. Under file properties...

View Article

Image may be NSFW.
Clik here to view.

MS SQL 2012: create database failed with error 5133

was working before, cannot figure out what happened.1. reboot pc2. open MSSMS 20123. right click on "Databases", create new database4. got error 5133my c:, f: folders are read-write

View Article
Browsing all 4729 articles
Browse latest View live


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