473,387 Members | 1,556 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Odd Behaviour with VBA Generated SQL

For all my apps in A97 and A2003, I write VBA code that constructs SQL
statements for MS Jet. I'm encountering something really odd. I won't
post the SQL, but describe the behaviour to see if anyone has
encountered this.

Consider the following code:

dim strS as string
dim rst as DAO.recordset

strS = "Select blah, blah"

debug.print strS

dbs.openrecordset(strs, dbopensnapshot)

When the code executes, the recordset returns no records when there
should be some.

When I paste the strs from the immediate window into the SQL window of a
querydef, I get no records either.

But when I then open the querydef in the Access query design view and
save it and then run it, I get records!!!!!

The SQL does not change. For simpler SQL (the stuff above is not overly
complicated - it draws data from 4 tables - I have far more complicated
queries in this app and others) this does not happen.

Does anyone have any suggestions?

I've compacted, decompiled (as per David Fenton), compacted, cocmpiled,
compacted both FE and BE. I still get the same behaviour.

Thanks very much in advance for any suggestions.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Dec 10 '06 #1
13 1378
Is dbs defined properly? Are you using "Option Explicit" That's the
only thing that jumps to my mind.

Cheers,
Jason Lepack

Tim Marshall wrote:
For all my apps in A97 and A2003, I write VBA code that constructs SQL
statements for MS Jet. I'm encountering something really odd. I won't
post the SQL, but describe the behaviour to see if anyone has
encountered this.

Consider the following code:

dim strS as string
dim rst as DAO.recordset

strS = "Select blah, blah"

debug.print strS

dbs.openrecordset(strs, dbopensnapshot)

When the code executes, the recordset returns no records when there
should be some.

When I paste the strs from the immediate window into the SQL window of a
querydef, I get no records either.

But when I then open the querydef in the Access query design view and
save it and then run it, I get records!!!!!

The SQL does not change. For simpler SQL (the stuff above is not overly
complicated - it draws data from 4 tables - I have far more complicated
queries in this app and others) this does not happen.

Does anyone have any suggestions?

I've compacted, decompiled (as per David Fenton), compacted, cocmpiled,
compacted both FE and BE. I still get the same behaviour.

Thanks very much in advance for any suggestions.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Dec 10 '06 #2
Have you tried pasting the working SQL back into the VBA code to see if that
works now. There may be some very subtle change, perhaps a non-diplyable
character.
I recall seeing similar problems posted before, and I believe there was an
issue with references there.

"Tim Marshall" <TI****@PurplePandaChasers.Moertheriumwrote in message
news:el**********@coranto.ucs.mun.ca...
For all my apps in A97 and A2003, I write VBA code that constructs SQL
statements for MS Jet. I'm encountering something really odd. I won't
post the SQL, but describe the behaviour to see if anyone has encountered
this.

Consider the following code:

dim strS as string
dim rst as DAO.recordset

strS = "Select blah, blah"

debug.print strS

dbs.openrecordset(strs, dbopensnapshot)

When the code executes, the recordset returns no records when there should
be some.

When I paste the strs from the immediate window into the SQL window of a
querydef, I get no records either.

But when I then open the querydef in the Access query design view and save
it and then run it, I get records!!!!!

The SQL does not change. For simpler SQL (the stuff above is not overly
complicated - it draws data from 4 tables - I have far more complicated
queries in this app and others) this does not happen.

Does anyone have any suggestions?

I've compacted, decompiled (as per David Fenton), compacted, cocmpiled,
compacted both FE and BE. I still get the same behaviour.

Thanks very much in advance for any suggestions.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me

Dec 10 '06 #3
rkc
Tim Marshall wrote:
For all my apps in A97 and A2003, I write VBA code that constructs SQL
statements for MS Jet. I'm encountering something really odd. I won't
post the SQL, but describe the behaviour to see if anyone has
encountered this.

Consider the following code:

dim strS as string
dim rst as DAO.recordset

strS = "Select blah, blah"

debug.print strS

dbs.openrecordset(strs, dbopensnapshot)

When the code executes, the recordset returns no records when there
should be some.

When I paste the strs from the immediate window into the SQL window of a
querydef, I get no records either.

But when I then open the querydef in the Access query design view and
save it and then run it, I get records!!!!!

The SQL does not change. For simpler SQL (the stuff above is not overly
complicated - it draws data from 4 tables - I have far more complicated
queries in this app and others) this does not happen.

Does anyone have any suggestions?

I've compacted, decompiled (as per David Fenton), compacted, cocmpiled,
compacted both FE and BE. I still get the same behaviour.

Thanks very much in advance for any suggestions.
The first thing I would do is stop hard coding sql strings
into VBA code. Write and test the sql in the query builder
and paste it into a table. Then it's a simple matter of reading
it into a variable when you need it.

Dec 10 '06 #4
Tim Marshall <TI****@PurplePandaChasers.Moertheriumwrote in
news:el**********@coranto.ucs.mun.ca:
For all my apps in A97 and A2003, I write VBA code that constructs SQL
statements for MS Jet. I'm encountering something really odd. I
won't post the SQL, but describe the behaviour to see if anyone has
encountered this.

Consider the following code:

dim strS as string
dim rst as DAO.recordset

strS = "Select blah, blah"

debug.print strS

dbs.openrecordset(strs, dbopensnapshot)

When the code executes, the recordset returns no records when there
should be some.

When I paste the strs from the immediate window into the SQL window of
a querydef, I get no records either.

But when I then open the querydef in the Access query design view and
save it and then run it, I get records!!!!!

The SQL does not change. For simpler SQL (the stuff above is not
overly complicated - it draws data from 4 tables - I have far more
complicated queries in this app and others) this does not happen.

Does anyone have any suggestions?

I've compacted, decompiled (as per David Fenton), compacted,
cocmpiled, compacted both FE and BE. I still get the same behaviour.

Thanks very much in advance for any suggestions.
I think we need to see the SQL.

We do not know what Access does with SQL script that we post into the
Query Design window. It sometimes (often?) modifies our script before it
sends it off to JET for action. We may be able to find the final string
by looking at the SQL window after the query has been saved and run. We
may be able to get an sense of what is happening by examining the
showplan.out file which holds information such as: --- temp query ---

- Inputs to Query -
Table 'MSysRelationships'
- End inputs to Query -

01) Restrict rows of table MSysRelationships
using rushmore
for expression "(szObject=wszTableName) OR
(szReferencedObject=wszTableName)"

but sometimes Access does whatever it likes without revealing anything.

--
Lyle Fairfield

http://www.ffdba.com/toyota/BurlingtonToyotaLease.htm

(just a sad story - read if bored)
Dec 10 '06 #5
jlepack wrote:
Is dbs defined properly? Are you using "Option Explicit" That's the
only thing that jumps to my mind.
Thanks for taking the time to respond, Jason... yes to both.

I've been using David Fenton's "dblocal" function for a couple of years
now in Oracle and MS Jet Access apps:

http://tinyurl.com/yxoxbk

And it's been a wonderful development tool, working flawlessly. I did
try running my proc the "traditional" way by defining the dbs variable
within the procedure and got the same behaviour.

Option Explicit is present in all modules involved (the one with the
errant procedure and the one that holds David's dblocal function).

I've fixed the problem - see my response to David Cox.

Again, thanks for your suggestions.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Dec 10 '06 #6
rkc wrote:
The first thing I would do is stop hard coding sql strings
into VBA code. Write and test the sql in the query builder
and paste it into a table. Then it's a simple matter of reading
it into a variable when you need it.
Thanks, this is a reasonable approach, but I don't think it's practical
with most of the apps I deal with? By that I mean I usually construct
SQL based on a large number of criteria specified by the user on one or
more forms.

In the current app from which my question is coming, I have a digital
map with 320 large squares superimposed on it. The app tracks movement
of units which are given orders that are stored in a table. The SQL I'm
having trouble with is trying to nail down what users have their units
in a square, so the SQL has to reflect the orders given, the sides
involved and the square. That's at least 320 statements if two users
with units are involved, I think, and much more when there are more than
2 users and any number of them can have units in a square then the
possibilities increase.

The variables in my function which is causing the problem include the
name of the square involved and a loop has to be run for each user in
the exercise...
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Dec 10 '06 #7
David F Cox wrote:
Have you tried pasting the working SQL back into the VBA code to see if that
works now. There may be some very subtle change, perhaps a non-diplyable
character.
I recall seeing similar problems posted before, and I believe there was an
issue with references there.
References were fine, but your first suggestion worked! I should have
thought of doing this but was too cocky in my own abilities.

Still, this is extremely odd behaviour. Lyle's comments probably have a
lot of bearing here, but as I've said, I've done this sort of thing
using MS Jet as a backend many times and with far more complex query
construction.

I suspect there may be something wrong with my data structure, though I
pride myself on robust design. Perhaps too much pride, eh?

Thanks very much for your suggestion, it's got me going again.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Dec 10 '06 #8
Lyle Fairfield wrote:
I think we need to see the SQL.
I'll post it afterward, just for interest's sake, though David Cox's
suggestion got me running again.
We do not know what Access does with SQL script that we post into the
Query Design window. It sometimes (often?) modifies our script before it
sends it off to JET for action. We may be able to find the final string
by looking at the SQL window after the query has been saved and run.
That's often my approach - creating the query in the design window and
then copying and modifying it into VBA. I do this mainly because I am
not as proficient with remembering how the join system in Jet works,
which is one of the reasons I prefer working with Oracle - joins are in
the where clause and are so much easier to do out of your head.
but sometimes Access does whatever it likes without revealing anything.
I've never encountered this before, but perhaps my problem is a
manifestation of the behaviour you've described. I'm convinced that
I've somehow botched up my structure, but can't see how.

The other possibility is that my application somehow became corrupt in a
way that decompile and compacting didn't take care of. Just to be sure,
I'm going to import all the elements into a new mdb and try my way of
writing the SQL again. As I've mentioned, the way D Cox suggested
worked. I tend to hate the way the Access query builder constructs SQL
with all the redundant table names in front of field names and so many
parenthesis in the where clause and usually get rid of such. However,
writing the SQL the "Access way" seems to have solved my dilemma and
it's the first time I've encountered such a thing.

Thanks for the reply.

--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Dec 10 '06 #9
Tim Marshall wrote:
Lyle Fairfield wrote:
>I think we need to see the SQL.

I'll post it afterward, just for interest's sake, though David Cox's
suggestion got me running again.
Ooops forgot the SQL. Perhaps it's a bit long and it's OK if you just
say shag it and don't look at it. But I can't see any difference.

Here's what works (gives 2 records):

SELECT
TBL_SIDE.SID_PK,
[SID_NAME] & IIf(IsNull([SID_NAME_2]),"",", " & [SID_NAME_2]) AS Side,
TBL_SIDE.SID_NAME

FROM
TBL_SIDE INNER JOIN (TBL_CONTACTS INNER JOIN
(TBL_CONTACTS_UNITS INNER JOIN TBL_UNITS ON
TBL_CONTACTS_UNITS.CTU_UNT_FK = TBL_UNITS.UNT_PK)
ON TBL_CONTACTS.CON_PK = TBL_CONTACTS_UNITS.CTU_CON_FK) ON
TBL_SIDE.SID_PK = TBL_UNITS.UNT_SID_FK

WHERE
(((TBL_CONTACTS.CON_SQUARE) = "6-18") And
((TBL_SIDE.SID_GAM_FK) = 11) And ((TBL_CONTACTS.CON_GAM_FK) = 11) And
((TBL_CONTACTS_UNITS.CTU_TURN_ENDS) <= 1) And
((TBL_CONTACTS_UNITS.CTU_TURN) >= 1) And
((TBL_CONTACTS_UNITS.CTU_RESULT) Is Null) And
((TBL_CONTACTS_UNITS.CTU_OBS_SQUARE) = "-") And
((TBL_SIDE.SID_PK) <48))
Or
(((TBL_CONTACTS.CON_SQUARE) = "6-18") And
((TBL_SIDE.SID_GAM_FK) = 11) And ((TBL_CONTACTS.CON_GAM_FK) = 11) And
((TBL_CONTACTS_UNITS.CTU_TURN_ENDS) <= 1) And
((TBL_CONTACTS_UNITS.CTU_TURN) >= 1) And
((TBL_CONTACTS_UNITS.CTU_RESULT) Is Null) And
((TBL_SIDE.SID_PK) = 48))

GROUP BY
TBL_SIDE.SID_PK,
[SID_NAME] & IIf(IsNull([SID_NAME_2]),"",", " & [SID_NAME_2]),
TBL_SIDE.SID_NAME

Here's what doesn't work and gives me no records:

SELECT
SID_PK,
[SID_NAME] & IIf(IsNull([SID_NAME_2]),"",", " & [SID_NAME_2]) AS Side,
sid_name

FROM TBL_SIDE INNER JOIN (TBL_CONTACTS INNER JOIN
(TBL_CONTACTS_UNITS INNER JOIN TBL_UNITS ON
TBL_CONTACTS_UNITS.CTU_UNT_FK = TBL_UNITS.UNT_PK)
ON TBL_CONTACTS.CON_PK = TBL_CONTACTS_UNITS.CTU_CON_FK) ON
TBL_SIDE.SID_PK = TBL_UNITS.UNT_SID_FK

WHERE
(CON_SQUARE = "6-18" And
SID_GAM_FK = 11 And
con_GAM_FK = 11 And
CTU_TURN_ENDS <= 1 And
CTU_TURN >= 1 And
ctu_result = Null and
CTU_OBS_SQUARE = "-" and sid_pk <48)
or
(CON_SQUARE = "6-18" And
SID_GAM_FK = 11 And
con_GAM_FK = 11 And
CTU_TURN_ENDS <= 1 And
CTU_TURN >= 1 And
ctu_result = Null and
sid_pk = 48)

GROUP BY
SID_PK,
[SID_NAME] & IIf(IsNull([SID_NAME_2]),"",", " & [SID_NAME_2]),
sid_name

Curiously enough the second statement is somehow "transmogrified" (as in
Calvin and Hobbes) into the first statement when it is opened in
design view and saved. And then it works.
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Whatcha doin?" - Ditto "TIM-MAY!!" - Me
Dec 10 '06 #10
On Sun, 10 Dec 2006 18:16:05 -0330, Tim Marshall
<TI****@PurplePandaChasers.Moertheriumwrote:

"= Null" is a bad idea. "Is Null" is a good one.
-Tom.

>Tim Marshall wrote:
>Lyle Fairfield wrote:
>>I think we need to see the SQL.

I'll post it afterward, just for interest's sake, though David Cox's
suggestion got me running again.

Ooops forgot the SQL. Perhaps it's a bit long and it's OK if you just
say shag it and don't look at it. But I can't see any difference.

Here's what works (gives 2 records):

SELECT
TBL_SIDE.SID_PK,
[SID_NAME] & IIf(IsNull([SID_NAME_2]),"",", " & [SID_NAME_2]) AS Side,
TBL_SIDE.SID_NAME

FROM
TBL_SIDE INNER JOIN (TBL_CONTACTS INNER JOIN
(TBL_CONTACTS_UNITS INNER JOIN TBL_UNITS ON
TBL_CONTACTS_UNITS.CTU_UNT_FK = TBL_UNITS.UNT_PK)
ON TBL_CONTACTS.CON_PK = TBL_CONTACTS_UNITS.CTU_CON_FK) ON
TBL_SIDE.SID_PK = TBL_UNITS.UNT_SID_FK

WHERE
(((TBL_CONTACTS.CON_SQUARE) = "6-18") And
((TBL_SIDE.SID_GAM_FK) = 11) And ((TBL_CONTACTS.CON_GAM_FK) = 11) And
((TBL_CONTACTS_UNITS.CTU_TURN_ENDS) <= 1) And
((TBL_CONTACTS_UNITS.CTU_TURN) >= 1) And
((TBL_CONTACTS_UNITS.CTU_RESULT) Is Null) And
((TBL_CONTACTS_UNITS.CTU_OBS_SQUARE) = "-") And
((TBL_SIDE.SID_PK) <48))
Or
(((TBL_CONTACTS.CON_SQUARE) = "6-18") And
((TBL_SIDE.SID_GAM_FK) = 11) And ((TBL_CONTACTS.CON_GAM_FK) = 11) And
((TBL_CONTACTS_UNITS.CTU_TURN_ENDS) <= 1) And
((TBL_CONTACTS_UNITS.CTU_TURN) >= 1) And
((TBL_CONTACTS_UNITS.CTU_RESULT) Is Null) And
((TBL_SIDE.SID_PK) = 48))

GROUP BY
TBL_SIDE.SID_PK,
[SID_NAME] & IIf(IsNull([SID_NAME_2]),"",", " & [SID_NAME_2]),
TBL_SIDE.SID_NAME

Here's what doesn't work and gives me no records:

SELECT
SID_PK,
[SID_NAME] & IIf(IsNull([SID_NAME_2]),"",", " & [SID_NAME_2]) AS Side,
sid_name

FROM TBL_SIDE INNER JOIN (TBL_CONTACTS INNER JOIN
(TBL_CONTACTS_UNITS INNER JOIN TBL_UNITS ON
TBL_CONTACTS_UNITS.CTU_UNT_FK = TBL_UNITS.UNT_PK)
ON TBL_CONTACTS.CON_PK = TBL_CONTACTS_UNITS.CTU_CON_FK) ON
TBL_SIDE.SID_PK = TBL_UNITS.UNT_SID_FK

WHERE
(CON_SQUARE = "6-18" And
SID_GAM_FK = 11 And
con_GAM_FK = 11 And
CTU_TURN_ENDS <= 1 And
CTU_TURN >= 1 And
ctu_result = Null and
CTU_OBS_SQUARE = "-" and sid_pk <48)
or
(CON_SQUARE = "6-18" And
SID_GAM_FK = 11 And
con_GAM_FK = 11 And
CTU_TURN_ENDS <= 1 And
CTU_TURN >= 1 And
ctu_result = Null and
sid_pk = 48)

GROUP BY
SID_PK,
[SID_NAME] & IIf(IsNull([SID_NAME_2]),"",", " & [SID_NAME_2]),
sid_name

Curiously enough the second statement is somehow "transmogrified" (as in
Calvin and Hobbes) into the first statement when it is opened in
design view and saved. And then it works.
Dec 10 '06 #11
Tom van Stiphout <no*************@cox.netwrote:
>On Sun, 10 Dec 2006 18:16:05 -0330, Tim Marshall
<TI****@PurplePandaChasers.Moertheriumwrote:

"= Null" is a bad idea. "Is Null" is a good one.
-Tom.
Tom

I think you found the true reason for the "odd" behaviour that Tim is
observing. Plus, there is a subtle and little known difference between
Access 97 and later versions:

In Access 97,

SELECT * FROM tblTest WHERE X = Null

*does* return records (those where the field X contains a Null),
but from Access 2000 on this never returns any records.

Access 97 would "silently" interpret "X = Null" as "X Is Null",
whereas from Access 2000 on this is more in line with the VBA
behaviour of logical comparisons with Null. Null compared to anything
never is True or False, it always is Null.

Greetings
Matthias Kläy
--
www.kcc.ch
Dec 11 '06 #12
Matthias Klaey <mp**@hotmail.comwrote in
news:rn********************************@4ax.com:
Tom van Stiphout <no*************@cox.netwrote:
>>On Sun, 10 Dec 2006 18:16:05 -0330, Tim Marshall
<TI****@PurplePandaChasers.Moertheriumwrote:

"= Null" is a bad idea. "Is Null" is a good one.
-Tom.

Tom

I think you found the true reason for the "odd" behaviour that Tim is
observing. Plus, there is a subtle and little known difference between
Access 97 and later versions:

In Access 97,

SELECT * FROM tblTest WHERE X = Null

*does* return records (those where the field X contains a Null),
but from Access 2000 on this never returns any records.

Access 97 would "silently" interpret "X = Null" as "X Is Null",
whereas from Access 2000 on this is more in line with the VBA
behaviour of logical comparisons with Null. Null compared to anything
never is True or False, it always is Null.

Greetings
Matthias Kläy
Sometimes one forgets when cutting and pasting from applications which do
accept comparison operators with null, but I suppose "check handling of
nulls" is a homily we should put into the back of our minds (or even into
our programming notes) in the "things to check when my SQL doesn't work
properly" drawer.

Perhaps the differences you note with respect to Access 97 and later
versions are differences between JET 3.5 and JET 4.0, but given Access's
secret processes (you call it silent interpretation) one may never know.

--
Lyle Fairfield

http://www.ffdba.com/toyota/BurlingtonToyotaLease.htm

(just a sad story - read if bored)
Dec 11 '06 #13
Tom van Stiphout wrote:
"= Null" is a bad idea. "Is Null" is a good one.
-Tom.
Good lord, that is in fact what the problem was.

Thanks so much, I stared at the two versions for a long time and didn't
notice that difference at all.

That's the danger of thinking one is infallible!
--
Tim http://www.ucs.mun.ca/~tmarshal/
^o<
/#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake
/^^ "Be Careful, Big Bird!" - Ditto "TIM-MAY!!" - Me
Dec 11 '06 #14

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

Similar topics

48
by: marbac | last post by:
Hi, i heard a lot about "undefined behaviour" in this and other newsgroups dealing with c/c++. Is there a list where all cases with undefined behaviour in C++ are listed? regards marbac
2
by: Alex Mizrahi | last post by:
Hello, All! i admit that it's better to ask questions connected with atl/mfc classes in special newsgroups, but seems like people there are interested more in discussing stuff like MFC GUI than...
13
by: Chris Croughton | last post by:
Is the following code standard-compliant, and if so what should it do? And where in the standard defines the behaviour? #include <stdio.h> #define DEF defined XXX int main(void) { int...
7
by: Netocrat | last post by:
The code at the bottom illustrates the nature of a situation discussed on comp.lang.asm.x86. Basically an unsigned integer is being used as a negative index in a loop, and it works as though the...
8
by: Daniel Yelland | last post by:
Hi, I have developed a number of code libraries in Win32 DLLs and have written a number of test suite executables that implicitly link to these libraries in order to test them. In one of my test...
285
by: Sheth Raxit | last post by:
Machine 1 : bash-3.00$ uname -a SunOS <hostname5.10 Generic_118822-30 sun4u sparc SUNW,Sun-Fire-280R bash-3.00$ gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/...
12
by: Franz Hose | last post by:
the following program, when compiled with gcc and '-std=c99', gcc says test.c:6: error: jump into scope of identifier with variably modified type that is, it does not even compile. ...
4
by: Wolfgang Draxinger | last post by:
If you know languages like Python or D you know, that nested functions can be really handy. Though some compilers (looking at GCC) provide the extension of nested functions, I wonder, how one...
11
by: Pranav | last post by:
The Code is compiling without Error/Bug/Exception.., What are the possibilities for this behaviour? //*************************************************************** #include<stdio.h> typedef...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.