473,839 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Trying to do REALLY simple procedure and loop in SQL Server

Dear experts,

Again, sorry to bother you again with such a seemingly dumb question,
but I'm having some really mysterious results here.

ie.

Create procedure the_test
As
Begin

Select CustomerID
>From dbo.customers
-----------------------------*/
Server: Msg 170, Level 15, State 1, Procedure the_test, Line 8
Line 8: Incorrect syntax near 'customers'.

Just WHAT is the syntax please?????
-----------------------------------------

Then, this started as trying to write a procedure with a cursor.
Open cursor, loop, print, end loop. End of story.

This actually goes into an infinite loop!!!
Can anyone tell me what is wrong here?


Create procedure test2
As

Declare all_cust cursor for
Select customerid,
Companyname,
ContactName
>From customers

Declare
@Customerid varchar(5),
@Companyname varchar(40),
@ContactName varchar(30)

Begin

Select count(*)
>From customers

Open all_cust

Fetch all_cust
Into @customerid,
@Companyname,
@ContactName
While @@fetch_status = 0

Print @customerid
Fetch all_cust
Into @customerid,
@Companyname,
@ContactName

End /* while */
Close all_cust

Deallocate all_cust

Believe it or not, I'm just copying simple programs off the web,
including the Microsoft website, with slight modifications!! !!!!
Crazy!!!

Aug 16 '06 #1
14 5908
SELECT CustomerID
FROM dbo.Customers

You probably shouldn't be trying to use a cursor -it has really bad performance issues -amongst other things.

Perhaps if you were to provide us a bit more information (table DDL, sample data in the form or INSERT statements), and especially a clear explanation of what you hope to accomplish, someone here can help come up with a more efficient and non-cursor solution.

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
<db*****@yahoo. comwrote in message news:11******** **************@ 75g2000cwc.goog legroups.com...
Dear experts,

Again, sorry to bother you again with such a seemingly dumb question,
but I'm having some really mysterious results here.

ie.

Create procedure the_test
As
Begin

Select CustomerID
>>From dbo.customers
-----------------------------*/
Server: Msg 170, Level 15, State 1, Procedure the_test, Line 8
Line 8: Incorrect syntax near 'customers'.

Just WHAT is the syntax please?????
Aug 16 '06 #2
I'm not even trying to do anything in particular yet.
I'm just trying to get the basics down in SQL Server.
The tables are from the Northwinds schema, or "database",
in Sql Server terms.

This is one of the most classic elementary programs you write.
Read the data, print it, end. The first one didn't even use a cursor,
but wouldn't even compile!

If I can't get Sql Server to do that, I have serious doubts about
using it for much of anything. I never had issues like this in
Oracle.

My example was 100% clear, and the question was, what is the
correct syntax to do the simple business?

If anyone knows, please tell us the secret.

Thanks!
Arnie Rowland wrote:
SELECT CustomerID
FROM dbo.Customers

You probably shouldn't be trying to use a cursor -it has really bad performance issues -amongst other things.

Perhaps if you were to provide us a bit more information (table DDL, sample data in the form or INSERT statements), and especially a clear explanation of what you hope to accomplish, someone here can help come up with a more efficient and non-cursor solution.

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
<db*****@yahoo. comwrote in message news:11******** **************@ 75g2000cwc.goog legroups.com...
Dear experts,

Again, sorry to bother you again with such a seemingly dumb question,
but I'm having some really mysterious results here.

ie.

Create procedure the_test
As
Begin

Select CustomerID
>From dbo.customers
-----------------------------*/
Server: Msg 170, Level 15, State 1, Procedure the_test, Line 8
Line 8: Incorrect syntax near 'customers'.

Just WHAT is the syntax please?????
Aug 16 '06 #3
See inline comments. You are being sloppy, to but it bluntly.
You can't expect programs to work if you miss copying a
line, leave out begin-end pairs, or make other basic errors.

Steve Kass
Drew University

<db*****@yahoo. comwrote in message news:11******** **************@ 75g2000cwc.goog legroups.com...
Dear experts,

Again, sorry to bother you again with such a seemingly dumb question,
but I'm having some really mysterious results here.

ie.

Create procedure the_test
As
Begin

Select CustomerID
>>From dbo.customers

-----------------------------*/
Server: Msg 170, Level 15, State 1, Procedure the_test, Line 8
Line 8: Incorrect syntax near 'customers'.

Just WHAT is the syntax please?????

It looks to me like you are missing the keyword END.

-----------------------------------------

Then, this started as trying to write a procedure with a cursor.
Open cursor, loop, print, end loop. End of story.

This actually goes into an infinite loop!!!
Can anyone tell me what is wrong here?


Create procedure test2
As

Declare all_cust cursor for
Select customerid,
Companyname,
ContactName
>>From customers


Declare
@Customerid varchar(5),
@Companyname varchar(40),
@ContactName varchar(30)

Begin

Select count(*)
>>From customers


Open all_cust

Fetch all_cust
Into @customerid,
@Companyname,
@ContactName
While @@fetch_status = 0

Print @customerid

This is an infinite loop if anything is fetched. Printing @customerid
will not change the value of @@fetch_status, so the statement

WHILE @@fetch_status = 0
PRINT @customerid

will go forever.
>

Fetch all_cust
Into @customerid,
@Companyname,
@ContactName

End /* while */
Close all_cust

Deallocate all_cust

Believe it or not, I'm just copying simple programs off the web,
including the Microsoft website, with slight modifications!! !!!!
Crazy!!!

Aug 16 '06 #4
See inline comments. You are being sloppy, to but it bluntly.
You can't expect programs to work if you miss copying a
line, leave out begin-end pairs, or make other basic errors.

Steve Kass
Drew University

<db*****@yahoo. comwrote in message news:11******** **************@ 75g2000cwc.goog legroups.com...
Dear experts,

Again, sorry to bother you again with such a seemingly dumb question,
but I'm having some really mysterious results here.

ie.

Create procedure the_test
As
Begin

Select CustomerID
>>From dbo.customers

-----------------------------*/
Server: Msg 170, Level 15, State 1, Procedure the_test, Line 8
Line 8: Incorrect syntax near 'customers'.

Just WHAT is the syntax please?????

It looks to me like you are missing the keyword END.

-----------------------------------------

Then, this started as trying to write a procedure with a cursor.
Open cursor, loop, print, end loop. End of story.

This actually goes into an infinite loop!!!
Can anyone tell me what is wrong here?


Create procedure test2
As

Declare all_cust cursor for
Select customerid,
Companyname,
ContactName
>>From customers


Declare
@Customerid varchar(5),
@Companyname varchar(40),
@ContactName varchar(30)

Begin

Select count(*)
>>From customers


Open all_cust

Fetch all_cust
Into @customerid,
@Companyname,
@ContactName
While @@fetch_status = 0

Print @customerid

This is an infinite loop if anything is fetched. Printing @customerid
will not change the value of @@fetch_status, so the statement

WHILE @@fetch_status = 0
PRINT @customerid

will go forever.
>

Fetch all_cust
Into @customerid,
@Companyname,
@ContactName

End /* while */
Close all_cust

Deallocate all_cust

Believe it or not, I'm just copying simple programs off the web,
including the Microsoft website, with slight modifications!! !!!!
Crazy!!!


Aug 16 '06 #5
Thanks for looking and responding.
Ok, This is part of what I wrote (as I posted).
I ran it in Query Analyser.

The symptom, as I mentioned, was not an error.
It was an infinite loop. (Has no one copied, and
pasted it???)

While @@fetch_status = 0

Print @customerid

Fetch all_cust
Into @customerid,
@Companyname,
@ContactName

End /* while */

The idea being, that the while is supposed to start at While,
and finish at End. Exactly what I found online.

Are you saying that a while loop can only handle one statement??

If not, what is the syntax to get it to execute all the code between
the While, and the End??? Do we give it a Begin???

These are some of the strange things I've found with Sql Server.
No semicolons to indicate the end of statement.
And no Begin or End to indicate the start and end of a block.
Much more difficult to read, and to write. In Oracle, you MUST
have an END LOOP statement, and semicolons.
You must also start and end the procedure with BEGIN and END.
Otherwise it won't even compile.

Steve Kass wrote:
See inline comments. You are being sloppy, to but it bluntly.
You can't expect programs to work if you miss copying a
line, leave out begin-end pairs, or make other basic errors.

Steve Kass
Drew University

<db*****@yahoo. comwrote in message news:11******** **************@ 75g2000cwc.goog legroups.com...
Dear experts,

Again, sorry to bother you again with such a seemingly dumb question,
but I'm having some really mysterious results here.

ie.

Create procedure the_test
As
Begin

Select CustomerID
>From dbo.customers
-----------------------------*/
Server: Msg 170, Level 15, State 1, Procedure the_test, Line 8
Line 8: Incorrect syntax near 'customers'.

Just WHAT is the syntax please?????

It looks to me like you are missing the keyword END.

-----------------------------------------

Then, this started as trying to write a procedure with a cursor.
Open cursor, loop, print, end loop. End of story.

This actually goes into an infinite loop!!!
Can anyone tell me what is wrong here?


Create procedure test2
As

Declare all_cust cursor for
Select customerid,
Companyname,
ContactName
>From customers

Declare
@Customerid varchar(5),
@Companyname varchar(40),
@ContactName varchar(30)

Begin

Select count(*)
>From customers

Open all_cust

Fetch all_cust
Into @customerid,
@Companyname,
@ContactName
While @@fetch_status = 0

Print @customerid


This is an infinite loop if anything is fetched. Printing @customerid
will not change the value of @@fetch_status, so the statement

WHILE @@fetch_status = 0
PRINT @customerid

will go forever.


Fetch all_cust
Into @customerid,
@Companyname,
@ContactName

End /* while */
Close all_cust

Deallocate all_cust

Believe it or not, I'm just copying simple programs off the web,
including the Microsoft website, with slight modifications!! !!!!
Crazy!!!
Aug 16 '06 #6
In my many years of teaching SQL Server, I have only had to ask one person
to leave a class and not come back. He was a Oracle person that wanted to
argue every point, always telling me why Oracle was better. I didn't think
that he really wanted to learn about SQL Server.

Flow Control (WHILE, IF, ELSE) executes the next 'block' of code. A block of
code is EITHER a single complete command (even if on several lines) OR
several commands within a BEGIN...END block.

WHILE does not have a END.

Your code example has an END statement, leading me to believe that your
overlooked the BEGIN in the sample code that you are working with. As Steve
pointed out, your code is stuck in the act of endlessly printing the
@CustomerID.

Semi-Colons are optional as end of statement indicators. If you want to use
them, please do.

As indicated above, BEGIN and END statements are indicators of code block,
containing one or more command statements. BEGIN...END blocks can be nested.

I personally think that there are many, many strange and different things
about P-SQL. Some of them intuitive to use, others not quite so. I also
think the same about T-SQL. But when I need a screwdriver, I don't go around
fussing about why a hammer is better. I use the correct tool for the job,
respectful of its limitations.

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
<db*****@yahoo. comwrote in message
news:11******** **************@ h48g2000cwc.goo glegroups.com.. .
Thanks for looking and responding.
Ok, This is part of what I wrote (as I posted).
I ran it in Query Analyser.

The symptom, as I mentioned, was not an error.
It was an infinite loop. (Has no one copied, and
pasted it???)

While @@fetch_status = 0

Print @customerid

Fetch all_cust
Into @customerid,
@Companyname,
@ContactName

End /* while */

The idea being, that the while is supposed to start at While,
and finish at End. Exactly what I found online.

Are you saying that a while loop can only handle one statement??

If not, what is the syntax to get it to execute all the code between
the While, and the End??? Do we give it a Begin???

These are some of the strange things I've found with Sql Server.
No semicolons to indicate the end of statement.
And no Begin or End to indicate the start and end of a block.
Much more difficult to read, and to write. In Oracle, you MUST
have an END LOOP statement, and semicolons.
You must also start and end the procedure with BEGIN and END.
Otherwise it won't even compile.

Steve Kass wrote:
>See inline comments. You are being sloppy, to but it bluntly.
You can't expect programs to work if you miss copying a
line, leave out begin-end pairs, or make other basic errors.

Steve Kass
Drew University

<db*****@yahoo .comwrote in message
news:11******* *************** @75g2000cwc.goo glegroups.com.. .
Dear experts,

Again, sorry to bother you again with such a seemingly dumb question,
but I'm having some really mysterious results here.

ie.

Create procedure the_test
As
Begin

Select CustomerID
From dbo.customers

-----------------------------*/
Server: Msg 170, Level 15, State 1, Procedure the_test, Line 8
Line 8: Incorrect syntax near 'customers'.

Just WHAT is the syntax please?????


It looks to me like you are missing the keyword END.

-----------------------------------------

Then, this started as trying to write a procedure with a cursor.
Open cursor, loop, print, end loop. End of story.

This actually goes into an infinite loop!!!
Can anyone tell me what is wrong here?


Create procedure test2
As

Declare all_cust cursor for
Select customerid,
Companyname,
ContactName
From customers
Declare
@Customerid varchar(5),
@Companyname varchar(40),
@ContactName varchar(30)

Begin

Select count(*)
From customers
Open all_cust

Fetch all_cust
Into @customerid,
@Companyname,
@ContactName
While @@fetch_status = 0

Print @customerid


This is an infinite loop if anything is fetched. Printing @customerid
will not change the value of @@fetch_status, so the statement

WHILE @@fetch_status = 0
PRINT @customerid

will go forever.
>

Fetch all_cust
Into @customerid,
@Companyname,
@ContactName

End /* while */
Close all_cust

Deallocate all_cust

Believe it or not, I'm just copying simple programs off the web,
including the Microsoft website, with slight modifications!! !!!!
Crazy!!!

Aug 16 '06 #7
db*****@yahoo.c om wrote:
Thanks for looking and responding.
Ok, This is part of what I wrote (as I posted).
I ran it in Query Analyser.

The symptom, as I mentioned, was not an error.
It was an infinite loop. (Has no one copied, and
pasted it???)

While @@fetch_status = 0

Print @customerid

Fetch all_cust
Into @customerid,
@Companyname,
@ContactName

End /* while */

The idea being, that the while is supposed to start at While,
and finish at End. Exactly what I found online.

Are you saying that a while loop can only handle one statement??

If not, what is the syntax to get it to execute all the code between
the While, and the End??? Do we give it a Begin???

These are some of the strange things I've found with Sql Server.
No semicolons to indicate the end of statement.
And no Begin or End to indicate the start and end of a block.
Much more difficult to read, and to write. In Oracle, you MUST
have an END LOOP statement, and semicolons.
You must also start and end the procedure with BEGIN and END.
Otherwise it won't even compile.
Did you come here seeking help, or just to bash SQL Server? None of
what you just rambled is true.

If you're TRULY interested in learning the T-SQL dialect, I suggest you
pick up a copy of "SQL In A Nutshell", it is an excellent resource for
comparing, side-by-side, the various platform differences for a given
SQL command.
--
Tracy McKibben
MCDBA
http://www.realsqlguy.com
Aug 16 '06 #8
Thank you! That worked!

One of the websites I looked at was:
http://databases.about.com/od/sqlser...toredprocs.htm
But I can't find the other one with the loop. Now that I think of
it, the print statement was my addition.

Sorry if I'm rubbing anyone the wrong way. But I'm sure you tell, I
was getting really pissed off here. I've been working in tech for a
long time. I know that in the beginning, you have to get the basics
down. Syntax. Variables. Built in functions and other features.
Libraries. How to compile and link. How it's done in this language.
Etc. I've done this with Oracle, C, VB, some java and so on.

So, I do know what I am trying to do. And I do know that it is
possible. I'm going to the newsgroups as a last resort after
struggle. When this writer gets to that point, I just want the answer.

Just how do I do it please? Not an intellectual discussion.
Not questions or comments about what I'm trying to do.
Consider it a test question where only the right answer gets
you the marks.

Thanks again!
----------- This works:
Create procedure test2
As

Declare all_cust cursor for
Select customerid,
Companyname,
ContactName
>From customers

Declare
@Customerid varchar(5),
@Companyname varchar(40),
@ContactName varchar(30)

Begin

Select count(*)
>From customers

end
Open all_cust

Fetch all_cust
Into @customerid,
@Companyname,
@ContactName
While @@fetch_status = 0

Begin
Print ( @customerid )
Fetch next
>From all_cust
Into @customerid,
@Companyname,
@ContactName

End /* while */

Close all_cust

Deallocate all_cust


------------

Arnie Rowland wrote:
In my many years of teaching SQL Server, I have only had to ask one person
to leave a class and not come back. He was a Oracle person that wanted to
argue every point, always telling me why Oracle was better. I didn't think
that he really wanted to learn about SQL Server.

Flow Control (WHILE, IF, ELSE) executes the next 'block' of code. A block of
code is EITHER a single complete command (even if on several lines) OR
several commands within a BEGIN...END block.

WHILE does not have a END.

Your code example has an END statement, leading me to believe that your
overlooked the BEGIN in the sample code that you are working with. As Steve
pointed out, your code is stuck in the act of endlessly printing the
@CustomerID.

Semi-Colons are optional as end of statement indicators. If you want to use
them, please do.

As indicated above, BEGIN and END statements are indicators of code block,
containing one or more command statements. BEGIN...END blocks can be nested.

I personally think that there are many, many strange and different things
about P-SQL. Some of them intuitive to use, others not quite so. I also
think the same about T-SQL. But when I need a screwdriver, I don't go around
fussing about why a hammer is better. I use the correct tool for the job,
respectful of its limitations.

--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous
<db*****@yahoo. comwrote in message
news:11******** **************@ h48g2000cwc.goo glegroups.com.. .
Thanks for looking and responding.
Ok, This is part of what I wrote (as I posted).
I ran it in Query Analyser.

The symptom, as I mentioned, was not an error.
It was an infinite loop. (Has no one copied, and
pasted it???)

While @@fetch_status = 0

Print @customerid

Fetch all_cust
Into @customerid,
@Companyname,
@ContactName

End /* while */

The idea being, that the while is supposed to start at While,
and finish at End. Exactly what I found online.

Are you saying that a while loop can only handle one statement??

If not, what is the syntax to get it to execute all the code between
the While, and the End??? Do we give it a Begin???

These are some of the strange things I've found with Sql Server.
No semicolons to indicate the end of statement.
And no Begin or End to indicate the start and end of a block.
Much more difficult to read, and to write. In Oracle, you MUST
have an END LOOP statement, and semicolons.
You must also start and end the procedure with BEGIN and END.
Otherwise it won't even compile.


Aug 16 '06 #9
(db*****@yahoo. com) writes:
Sorry if I'm rubbing anyone the wrong way. But I'm sure you tell, I
was getting really pissed off here. I've been working in tech for a
long time. I know that in the beginning, you have to get the basics
down. Syntax. Variables. Built in functions and other features.
Libraries. How to compile and link. How it's done in this language.
Etc. I've done this with Oracle, C, VB, some java and so on.
If you want to learn basic, why start with cursors? Cursors are not
basics, cursors are things you use very occcasionally, the less the
better. Not that I know Oracle, but I can't imagine that this any different
in Oracle or any other DBMS.

If you want to learn basics for SQL, start with learning queries first.
Then how to create tables and indexing. Then you can look at flow-of-
control, procedures etc. Cursors you can save until you need them. And
if you learn the basics well, you may not even need them.
Just how do I do it please? Not an intellectual discussion.
Not questions or comments about what I'm trying to do.
Consider it a test question where only the right answer gets
you the marks.
I will have to confess that my interest in getting marks for newsgroups
posts is minimal.

--
Erland Sommarskog, SQL Server MVP, es****@sommarsk og.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
Aug 16 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
3590
by: HolaGoogle | last post by:
hi all, can you please tell me what i should do to avoid session timeout when displaying my database info in my asp form (DisplayUserDatabase.asp)??? ** actualy it does load and display the database randomly....otherwise it's always runs into a session time out.... **Also when i save new account info (You'll notice that i've been asked to put a save button near each record...so, it's not one global save it's by record), i'd like to be...
7
1378
by: Tod Thames | last post by:
I am running SQL Server 7.0 and using a web interface. I would like for a user to be able to input multiple values into a single field with some sort of delimiter (such as a comma). I want to pass this field into a Stored Procedure and have the stored procedure use the data to generate the resutls. Example: Web page would ask for ID number into a field called IDNum. User could input one or many ID numbers separated by a comma or...
15
6024
by: Jarrod Morrison | last post by:
Hi All Im generally a vb programmer and am used to referencing multiple records returned from a query performed on an sql database and im trying to move some functions of my software into sql stored procedures. So far ive been able to move the functions relatively easily but im unsure about how to output multiple values from an sql stored procedure. By this i mean for example one of the stored procedures may take your username and return...
9
3727
by: heruti | last post by:
Hi all... I've been stumped by this for days. Bit of ASP code: (IIS) Set LocalConn = CreateObject("ADODB.Connection") LocalConn.CursorLocation = adUseClient LocalConn.CommandTimeout = 0 LocalConn.Open sConnStringSO (SQL Server 2000, irrelevant what it is, see below). LocalConn.Errors.Clear
2
2088
by: nsd | last post by:
HI ALL, HERE I HAVE MADE USE OF SAME CURSOR DECLARATIONS AND USAGE IN THE FOLLOWING TWO DB2 CODES . BUT I AM GETTING AN ERROR IN THE FIRST CASE i.e CURSOR IN A SIMPLE BLOCK. SO I HAVE A QUESTION... CAN WE MAKE USE OF CURSORS IN A SIMPLE BLOCK?
5
2193
by: noLoveLusT | last post by:
hi everyone i am very very new to the sql server (2 days actually and ) so far i learned creating SPs etc but couldnt workout how to get return value from my prodecure my sp as follows ________________________ CREATE PROCEDURE . @PageIndex INT, @PageSize INT, @Total INT OUTPUT
1
1836
by: Ted | last post by:
In MS SQL I used the following to create a stored procedure. USE AdventureWorks; GO IF OBJECT_ID ( 'HumanResources.usp_My_Search', 'P' ) IS NOT NULL DROP PROCEDURE HumanResources.usp_My_Search; GO CREATE PROCEDURE HumanResources.usp_My_Search @searchstring varchar(40) AS
4
7046
by: =?Utf-8?B?R3JlZw==?= | last post by:
My background is in MS Access and I am in the process of migrating my skillsets to Visual Basic.Net. So far I am able to display data in DataGridViews and Combo Box, etc with not problem. What I'm not so sure about is bullding a recordset so that I can iterate through the record set and perform tasks. I guess this would be a dataset or a table adapter. How would I basically achieve a code module that does the same as the code below? Dim...
20
5824
by: Nates | last post by:
I have a .bas file saved locally that I load into my Acces project to run a particular sub. I use the following code to load the module (which works fine): I use the following loop to remove the module: The above works fine (both adding the module and subsequantly removing it) provided I do not run any code within the module once it is loaded. The second I use code within the module the deletion loop does not seem to remove the...
0
9698
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10914
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10299
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9434
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7834
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7022
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5684
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5872
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.