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

connect to server

     Hi please i need help i installed sql server management studio on my system windows 7 home basic 64bit i tried creating a new query it promts me with a dialogue box connect to server what do i do...

View Article


Delete Selected Row from Datagrid VB

HiCan someone help me please, I need the syntax to delete or hide the selected row from a datagrid (not a datagridview) in VB.NET.Thanks A LotCherry

View Article


Suspect Database

Hi all,If a database is suspected, don't have the backups in place and then we didn't find any errors in dbcc checkdb then how to resolve the suspected database.

View Article

Image may be NSFW.
Clik here to view.

Database restore failing

Hi,I have two databases. One is called AX12_Base and the other is AX12_UAT_Base.I'm trying to restore a backup of AX12_Base to AX12_UAT_Base but keep getting the below error:I have tried killing any...

View Article

Cannot perform an aggregate function on an expression containing an aggregate...

I am getting "Cannot perform an aggregate function on an expression containing an aggregate or a subquery." error by executing below query, I need to calculate the percentage. Can you please help me on...

View Article


BCP error: Unexpected EOF encountered in BCP data-file

Hello,I am using SQL2k8R2 and it often comes to a need to do big data import for analysis, I believe bcp whould be the best efficient way to go, however, the bcp is really something that you like it...

View Article

License Schema on SQL Server 2005, 2008 and 2012

Hello Friendsi have a physical server that has 2 processors with 10 cores each one and because the hyperthreading technology (i guess) in my os appears 40 cores.  i need install SQL Server 2008...

View Article

Executed as user: ADMIN\abc-SQLServer. Linked servers cannot be used under...

Hi All, We have verified permissions on both sides,current server and linked server, the user has sysadmin. Another key piece of information is that this is happening when executing a SQL Job.Thanks. 

View Article


fechas devueltas con bettween??

amigos me gustaria ver si me pueden ayudar..estoy creando un sistema ...y necesitoo mandar desde alli dos fechas diferentes a sql server  para que me devuelva todos los aconteciemintos entre estas dos...

View Article


SQL Server 2008 Express Installation fails.

I am trying to install SQL server 2008 Express edition on my desktop (OS: Win 7 HP - 64 bit). I have been unable to do so on all of my 3 attempts.The installation gets to the end and then gives a error...

View Article

insert avalue based another state

I want to insert to the column checkinorout value checkin or checkout in first checkin and then checkout and then checkin based on the same SENSORID and the same checktime as you see I want thisselect...

View Article

Is this the right way to implement a database using SQL Server Express?

      Purchase a single central server (if you don’t have one already) and house it in the Wild Wood Apartments headquarters located in San Francisco, California      Purchase and install Windows...

View Article

Bulk insert and format file error : "Cannot bulk load. Unknown version of...

HelloI have my table and bulk insert as:DROP TABLE states CREATE TABLE states( zip int NOT NULL, city varchar(50) NOT NULL, state varchar(50) NOT NULL, latitude decimal NOT NULL, longitude decimal NOT...

View Article


Need a good Front End

Sir I am a very new to programming language, what I seek from u is nice front end software to learn & implement which I want to access from any computer(just not LAN) using a browser, I have set up...

View Article

SQL Agent Jobs

Hi,I have configured few jobs in sql server agent. Now i want to check the SPID for the currently executing job in SQL agent.                              How to check the SPID for currently running...

View Article


Is pessimistic locking is the locking scheme handle by the server

Is pessimistic locking  is the locking scheme handle by the server ? comment ?

View Article

How to determine its an Express Edition

What SQL Syntax command can return me with information to determine that the installed SQL Server Management Studio is ofExpress Edition or Enterprise Edition or any otherProfessional Edition?Thanx in...

View Article


IF Function exists THEN run a query on the function - causing inconsistent...

I have some code that checks the existence of a Function. IF the function exists, THEN the function in used in the WHERE clause of a SELECT. IF the Function does not exists, THEN does something ELSE...

View Article

Best learning resources of SQL Server

Could you share the best resources to learn SQL Server? Hello World

View Article

retrieve many child records IF one of them matches query

I have the following select:SELECT Toxpat.Casenumber, Toxpat.StartDate, Toxexpsub.Subdesc, ToxExpsub.Poisendexcodefrom ToxExpsub, Toxpatinner join on (codevalue.CodeID=toxpat.calltype)where...

View Article
Browsing all 7129 articles
Browse latest View live


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