Can I Have A Simple Technical Example Of How To Start?

Jun 14, 2007

I find difficulty in getting started with the service broker, and didnwt find a simple example.

I understand service broker is used for usynchronous jobs.

For example- I want to have a service that will perform SQL commands.



What are the necesary commands to create the queue,

to add the comand "Update MyTable Set MyField=1" to it,

and to get the command and perform it in another sesion?

View 3 Replies


ADVERTISEMENT

Non-Technical Question

Oct 27, 2005

Unlike the majority of this posts, my question isnt anything technical, what i needed to know is if anyone knows any SQL Server presentation, giving a overview of the application (its history, layers, services,etc) that i can download? IĀ“ve searched on this website and on google but so far didnt had much luck since most presentations i find are very narrowed and dont give the general overview that i needed from SQL Server.

Thanks in advance and sorry about my english since its not my native language ;)

View 7 Replies View Related

Technical Manuals Of SQL

Feb 2, 2006

Hi everyone,

I am making my first steps to SQL..
someone can help me ....
saying to me some place where it could lower papers, technical manuals, etc ... of SQL
I would like knowing the commands and processes that SQL handles,
with the idea of doing my own programs.
Example, simple....

DECLARE @dt datetime
SELECT @dt = 'Jun 13 1995 12:00:00'
SELECT CONVERT(varchar(10),@dt,101)

in this code the commands are seen....
DECLARE
@
CONVERT

Can someone please help me

Thanks

View 3 Replies View Related

Technical Question

Oct 11, 2007

Hi,

My question concerns the number of connections reporting services opens to generate a report with
several subreports in it.

I have a main report with 3 datasets, all based on different store procs. In the same report i also have
2 subreports who each have 1 dataset, also based on store procs.
When the report is being generated, how much connections does RS opens to the sql server?

Greetz,

Vinnie

View 1 Replies View Related

Request For A Technical Term

Apr 13, 2006

I'm not really sure how to explain this, so please bear with me.
I have a SQL statement, such as:
SELECT TOP (10) FROM chartTracks
This works with SQL Server Express 2005, but when I moved my site over to work with a MSSQL Server 2000, the statement had to be changed in order for it to work:
SELECT TOP 10 FROM chartTracks
I was just wondering if there was a technical term for this, and if possible, the locations of anymore sourecs of information regarding the above?
I'm just writing a report and would like to include this, if possible. Thanks in advance!
 

View 2 Replies View Related

Detailed Technical Design (DTD)

Apr 10, 2007

Hi,

I'm a newbe in SQL Server and I have to build "Detailed Technical Design" Document regarding the SQL Server . If anybody knows something or has an example / structure about this document please send me a replay.....

Thank you in advance

View 1 Replies View Related

Own Query Language For Non-technical Users, Any Frameworks Known?

Jul 23, 2005

HelloWe have the challenge to introduce for our database applications adynmaic search for the end users. The end users are non-technicalusers.I am looking therefore for possibilities which would allow to build ownquery language with expressions according to the need and skills forthe users.I found one product so far. "EasyAsk - Decision Adviser". does somebodyknow also other tools or frameworks which can be integrated?http://www.easyask.com/product*s/decision-advisor.cfmThe environment is currently MS SQL Servers and C# Webservices.Myvision is to have a framework or library which can be seamlessintegrated into our existing solutions which is currently a smart C#clients. i.e. by using web-service or an C# API.thanks Mark Egloff

View 1 Replies View Related

IS Same? (RS Start In Window Severvices V RS Start In Configration)

Mar 30, 2007



1) RS Start in Window Severvices
2) RS Start in Configration

1) and 2) Is Same?

I think that It looks like same Operation.

View 1 Replies View Related

Simple Simple Linking Tables & Perform Calculation

Mar 22, 2007

found it

View 3 Replies View Related

Simple Question (Hope Simple Answer Too)

May 26, 2004

Hey,

I have MS SQL database.
I have procedure:



code:--------------------------------------------------------------------------------
CREATE PROCEDURE dbo.Reg_DropTable
@ModuleId varchar(10)
AS
declare @TableName varchar, @kiek numeric
set @TableName = 'reg_'+@ModuleId

begin
DROP TABLE @TableName <- HERE I GOT ERROR
end
GO
--------------------------------------------------------------------------------


I got error when using variable with tables names.
How to do this?

Ps. Number is send to this function and it must drop table with name Reg_[That number]

View 1 Replies View Related

Simple Join Not So Simple

Feb 21, 2007

I am receiving funny results from a query. To simplify, I have 2 tables (todayyesterday). Each tbl has the same 8 columns. My query joins the two tables then looks where either of two columns has changed. What is happening is that when checking one of the columns it seems as though sql is flipping the column, causing it to be returned in error.

result set

colA colB colC colD colE colF colG colG (from yesterday)
1 1 a b c d e m
1 1 a b c d m e

So what's happening is that the record above is actually the same record and should not be returned. There is a daily pmt column that changes but I am not using that in the query. Aside from that the two records are identicle.

Any help is appreciated.

View 7 Replies View Related

Simple Join Not So Simple

Aug 19, 2006

Hi,

I have the following situation (with a site that already works and i cannot modify the database architecture and following CrossRef tables -- you will see what i mean by CrossRef tables below)

I have:


Master table Hotel

table AddressCrossRef (with: RefID = Hotel.ID, RefType = 'Hotel', AddrID)
joins
table Address (key = AddrID)


table MediaCrossRef (with RefID = Hotel.ID, RefType= 'Hotel', MediaID)
joins
table Media (with MediaID,mediaType = 'thumbnail')


foreach hotel, there definitely is a crossRef entry in AddressCrossRef and Address tables respectively (since every hotel has an address)

however not all hotels have thumbnail image

hence i have hotel inner join AddressXReff inner join Address ..... however i must have
left outer join mediaXref left outer join media


the problem is that if there is no entry in Media or mediaXref, I don't get any results

i tried to get over it by using
where (media.mediaTyple like 'thumbnail' or media.mediaType is null)
but then i started getting multiple results for each hotel because media's of type movie or full_image or etc... all got returned


any clue?

thanks

View 5 Replies View Related

SQL Won&#39;t Start. HELP

Mar 13, 2000

I am experiencing a big problem with my SQL Server- it won't start. Every time I attempt to start it I get an error "Error 1069 (The service did not start due to logon failure) occurred while performing this service operation on the MSSQLService service. " sa will not work either. I have not made any system changes recently. I tried to use regrbld but nothing happened. Is there anything else I can do short of reinstalling SQL7?

View 3 Replies View Related

Can I Start A DTS Pkg Via A SQL SP?

Jan 18, 2002

Is it possible to start a DTS package from a SQL Stored Procedure? If so, do you have sample code for this invocation?

thx-
BT

View 3 Replies View Related

Can&#39;t Start SQL 6.5

Jul 10, 2001

...So glad there are still folks out there running 6.5! We've been running 6.5 and 7.0 for the last year or so (one of our apps required 6.5). SQL 6.5 is running on an Alpha box, and SQL 7.0 is running on an Intel box. I want to install 6.5 on yet another Intel box, then install 7.0 on that SAME box so that I can perform the DTS. (Doing DTS across different CPU types failed to transfer application objects.) After that is successful, I will uninstall the 6.5 on the Intel box and no longer use the Alpha box for SQL. Both the Alpha and Intel boxes are on the same Windows NT domain.

Here is the issue. After performing the CD install of 6.5 on the Intel box, I get a message that the install could not be performed successfully because the MSSQL service could not be started. When I attempt to start it manually from Control Panel, I get an NT Error 3 - that the path cannot be found. (And the errorlog says that the server is unnamed.) So the MSSQL folder exists, the MSSQL Server and SQL Exec services are visible in Control Panel (unstarted), the registry contains SQL Server info, but the only way I've been able to start SQL Server at all is by using the Net Start MSSQLserv command.

I have repeated this step a few times - by deleting the MSSQL folder and re-running SETUP. At no point does NT remove the MSSQL services or the registry entries. In the end, NT or MSSQL still cannot find the "path" needed to start up SQL Server.

What do I need to do to "reset the clock" so that NT knows where to find these services?

View 1 Replies View Related

Is The Re-start Done?

Jan 27, 2006

Hi,

I was trying to restore a master database. This is what I did:
1. rebuild the master database and it was successful
2. restart server in single mode with
sqlservr.exe -c -m
and I got the following window:

************************************************** ********
2006-01-27 10:30:01.49 server Microsoft SQL Server 2000 - 8.00.2039 (Intel X
86)
May 3 2005 23:18:38
Copyright (c) 1988-2003 Microsoft Corporation
Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1)

2006-01-27 10:30:01.52 server Copyright (C) 1988-2002 Microsoft Corporation.

2006-01-27 10:30:01.52 server All rights reserved.
2006-01-27 10:30:01.52 server Server Process ID is 600.
2006-01-27 10:30:01.52 server Logging SQL Server messages in file 'e:Microso
ft SQL ServerMSSQLlogERRORLOG'.
2006-01-27 10:30:01.54 server SQL Server is starting at priority class 'norma
l'(4 CPUs detected).
2006-01-27 10:30:01.71 server SQL Server configured for thread mode processin
g.
2006-01-27 10:30:01.74 server Using dynamic lock allocation. [2500] Lock Bloc
ks, [5000] Lock Owner Blocks.
2006-01-27 10:30:01.99 server Attempting to initialize Distributed Transactio
n Coordinator.
2006-01-27 10:30:04.04 spid3 Warning ******************
2006-01-27 10:30:04.04 spid3 SQL Server started in single user mode. Updates
allowed to system catalogs.
2006-01-27 10:30:04.04 spid3 Starting up database 'master'.
2006-01-27 10:30:04.29 server Using 'SSNETLIB.DLL' version '8.0.2039'.
2006-01-27 10:30:04.29 spid5 Starting up database 'model'.
2006-01-27 10:30:04.29 spid3 Server name is 'SQLTEST1'.
2006-01-27 10:30:04.31 spid7 Starting up database 'msdb'.
2006-01-27 10:30:04.31 spid8 Starting up database 'pubs'.
2006-01-27 10:30:04.31 spid9 Starting up database 'Northwind'.
2006-01-27 10:30:04.31 server SQL server listening on 10.10.4.17: 1433.
2006-01-27 10:30:04.33 server SQL server listening on 127.0.0.1: 1433.
2006-01-27 10:30:04.34 server SQL server listening on TCP, Shared Memory, Nam
ed Pipes.
2006-01-27 10:30:04.36 server SQL Server is ready for client connections
2006-01-27 10:30:04.67 spid5 Clearing tempdb database.
2006-01-27 10:30:05.54 spid5 Starting up database 'tempdb'.
2006-01-27 10:30:05.70 spid3 Recovery complete.
2006-01-27 10:30:05.70 spid3 SQL global counter collection task is created.

************************************************** **

Now an hour passed and the window is still there. The SSQL service manager on the toolbars still has a red icon but not green. My questions are how do I know the process is done? What is the next step after SQL global counter collection task? Where can I find more information?

Thanks a lot.

Mark

View 8 Replies View Related

Where To Start?

Mar 1, 2004

I have recently invested in a new server that is running SBS premium, this come with SQL server and as a result of which I feel its time for me to start getting to grips with it.

I have reasonable knowledge of database design and SQL, extensive experience with access and some with Oracle. I have however never dealt with SQL server.

I generally don't have too much trouble picking up new technologies, and was wondering if anyone can point me in the right direction for learning SQL server from scratch? Is it realistic to be able to achieve this without doing a formal course? I intend to start using it to develop data-driven websites and applications.

Any help, advice and/or pointers are greatly appreciated.

Cheers

Dan

View 7 Replies View Related

Not Able To Start Any Job...

Apr 19, 2004

Hi,

I am not able to start any SQL Server job. Trying to start a job from Enterprise Manger, I get no error but the job doesnt execute.

Looks like in the Application Log there was an error 'Unable to read local eventlog'. Is this related to the problem or what should I do to fix this.

Thanks for the help.

View 7 Replies View Related

Get Start And End Of Given Day.

Apr 9, 2008

Hi,

Getdate() will get me the date, but how I can calculate two other datetime values corresponding to the very first second and the very last second of the current day?

Eg.

Today is 2008-04-09 <whatever time>
Startdate should be 2008-04-09 00:00:01
Enddate should be 2008-04-09 23:59:59

Cheers,
Matt

View 5 Replies View Related

Where To Start?

Sep 28, 2004

Here's what I want to do:

I have a lot of instructions on how to do certain things for our department. I want to put these into a searchable database.

Right now, the way it's setup, there's a list of catagories, and under each catagory, a list of articles. Easy enough.

But, now I want to have an option to search for keywords that bring up different articles.

I realize that I will probably have to recode certain things which is fine.

How do I get started?? I have IIS 6.0 on Server 2003 with SQL Server 2005 Express installed.

I have no experience with databases, SQL, Access, etc.

View 1 Replies View Related

Where Can I Start !!!!!

Feb 1, 2007

Ram writes "Hi mate,
I am New in this forum.
I am working as developer in C++ and .net ( 4 Years).
I plan to do the SQL SERVER 2005 and do some Microsoft certification.
I really don't know where I can start and which source is suitable for me.
I already download the express edition and I play arround that.

could you all please help me for this.
I am awaiting your good response.


Cheer
Ram"

View 4 Replies View Related

Get Start Day + End Day

Apr 24, 2008

hi how to get the start day end day one row for each employee
like this
ID fname start day end day val_holiday
-------------------------------------------------------------------------------------

111 aaaa 15/03/2008 21/03/2008 1
222 bbb 02/05/2008 09/05/2008 3
333 ccc 03/04/2008 04/04/2008 3

-------------------------------------------------------------------------------------------------------- this is my table
ID fname new_date val_holiday
----------------------------------------------------

111 aaaa 15/03/2008 1
111 aaaa 16/03/2008 1
111 aaaa 18/03/2008 1
111 aaaa 19/03/2008 1
111 aaaa 20/03/2008 1
111 aaaa 21/03/2008 1

222 bbb 02/05/2008 3
222 bbb 03/05/2008 3
222 bbb 04/05/2008 3
222 bbb 05/05/2008 3
222 bbb 06/05/2008 3
222 bbb 07/05/2008 3
222 bbb 08/05/2008 3
222 bbb 09/05/2008 3

333 ccc 03/04/2008 4
333 ccc 04/04/2008 4
TNX

View 5 Replies View Related

SQL Job Don't Start

Aug 22, 2006

Hello



I have created a jon in the SQL Server Agent. This job will start 2 Integration Packages

One package for the etl, and one package for processing the cube

70 % of the time the job wil end success. But 30 % of the time the job wil fail.

I don't see anything in the log. This is the only message I see :

Executed as user: RLS01BIP01SYSTEM. The package execution failed. The step failed

anyone an idea??



Thx

View 6 Replies View Related

Where To Start

Feb 22, 2008

Where would be a good place to start learning SQL? I know all the links in the e-mail that I got sent when I registered....but there not very help full.

View 1 Replies View Related

How To Start

Apr 21, 2008

Hello,

I'm new in the field of Microsoft products and particularly with the Microsoft SQL Server.
So in the beginning I would like to ask some questions and to understand the base lines.
First thing is, I heard that there are several editions of Microsoft SQL Server 2005 : standard, workgroup, express, developer.
I would like to know what is the difference between each of them. I suppose that developer means that it should be good for a developers to use this edition, but compared to the Standard edition or to the Express edition what are the main differences.
In my case I'll use the server for a little, not complicated, database and may be there will be a migration to do from some old Access database to the new one (under SQL Server). Is the edition of the SQL Server important for doing that ?
And my last question is about the compatibility between the SQL Server 2000 and 2005. In fact the server that is in use currently is version 2000 but in the future months the administrator plans to upgrade the software to the 2005 version.
So I'm asking myself, if I start to develop for directly for 2005 version, is the product will be entirely compatible with the current version (2000)?
That's all I think for now.

Best regards,

Tonio

View 1 Replies View Related

Quick Start

Dec 15, 2006

What is the parameters for startingĀ &Ā stoping sqlserverĀ 2005 from start/run or from the command prompti tried 'sqlservr' & it didn't work

View 1 Replies View Related

SQL Server Does Not Start

Aug 8, 2007

I had a small power outage and after that, SQL Server (2000) is not starting. I press the start button, it looks like it tries to do something (since all the buttons get disabled) and then its back to square one. I tried this from command line: sqlservr.exe -c -f but it does not help either.
I checked the SQL Server logs and this is what I found:
2007-08-08 10:05:09.63 spid3 Starting up database 'master'.
2007-08-08 10:05:09.63 spid3 Error: 823, Severity: 24, State: 6.
2007-08-08 10:05:09.63 spid3 08/08/07 10:05:09 Stack Overflow Dump not possible - Exception c00000fd E at 0x004436DD
2007-08-08 10:05:09.63 spid3 Address=4436dd Exception Code = c00000fd
I tried to google but could not find a solid solution.

View 2 Replies View Related

Cannot Start SQL Server

Jan 3, 2008

 Dear Friends,I cannot start my SQL Server 2005. When I'm trying to conect to local database it's showing me error:TITLE: Connect to Server------------------------------Cannot connect to WIN2006.------------------------------ADDITIONAL INFORMATION:An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)This error mean that server not started.When I read more details (error log in SQL Configuration Manager) I found that the source of the problem - "master" table was compressed. It should be decompressed to start server. What's this? I'm seeing this kind of error first time. Need your advise guys!

View 9 Replies View Related

Can't Start Services

Oct 26, 2004

Sorry for the newbie question here:

I've just installed VS.NET and have installed MSDE. All has gone well so far. I followed the instructions for setting a db password during install and the installer seemed to do its job. The SQL Server Service Manager runs in the taskbar when I reboot but the status icon is a white circle... The status bar indicates that it is not connected.

How do I connect to the server?

View 1 Replies View Related

Start N End Dates

Nov 7, 2004

hi may i know how do i load a report based on the entered value for start and end date?

I understand that i have to create parameters and dataset but how to make use of them?

View 1 Replies View Related

How Do I Start MSDE

Mar 1, 2005

After installing WebMatrix on my computer, I installed Microsoft SQL Server 2000 Desktop Engine (MSDE 2000) in my computer, but I can't see MSDE on my Start menu. I am really new to this and don't know how to open MSDE, so I could work with it. Nothing displayed after I installed MSDE, such as the typical "Installation is complete."

Sorry for such a silly question, but please help me. How can I open MSDE from the Start menu. I have windows XP Home.

Any help or suggestions are truly appreciated.

View 3 Replies View Related

SQL Server Will Not Start

Oct 13, 2005

All,

I am having a problem and cannot get my instance of SQL Server 2000 to
start.  When I check the event viewer, this is the error I see:

Error: 9003, Severity: 20, State: 1
The LSN (6:308:1) passed to log scan in database 'model' is invalid.

Any ideas?

Karls

View 1 Replies View Related

SQLMail Won&#39;t Start Help !!!

Feb 27, 2001

I have the following error when trying to test EMail from SQL.

I have logged onto the server and sent EMail using the SQLServer Service Account and the Profile is correct. This tells me that Outlook is working OK and the Exchange Server is sending OK. However, lookin on TechNet Q274330
mentions the error number but it's description is about Emailing an open file. I am not Emailing an open file.

Here's the error message.

xp_startmail 'eweb02mail'

Server: Msg 18025, Level 16, State 1, Line 0
xp_startmail: failed with mail error 0x80040106

Or right clicking on SQLMail and click on Test

xp_test_mapi_mail 0x80040106

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved