<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Database Journal Forums</title>
		<link>http://forums.databasejournal.com</link>
		<description>Discuss all things related to the world of databases at the active Database Journal community. Forum topics include news, database design, ASP, MS Access, SQL and more.</description>
		<language>en</language>
		<lastBuildDate>Thu, 17 May 2012 16:51:59 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forums.databasejournal.com/images/misc/rss.jpg</url>
			<title>Database Journal Forums</title>
			<link>http://forums.databasejournal.com</link>
		</image>
		<item>
			<title>change collation at once</title>
			<link>http://forums.databasejournal.com/showthread.php?t=53205&amp;goto=newpost</link>
			<pubDate>Thu, 17 May 2012 06:48:47 GMT</pubDate>
			<description>Hi, sorry to post this again but i just realized i had posted it on the wrong forum.

anyway, i have a large database that has many fields with collation set to latin1_Swedish_ci and i want to change all of them to utf8_unicode_ci at once but i cant find the proper query for that. Something like UPDATE collate SET utf8_unicode_ci WHERE collate=latin1_Swedish_ci;

Is it possible?

Thank you.</description>
			<content:encoded><![CDATA[<div>Hi, sorry to post this again but i just realized i had posted it on the wrong forum.<br />
<br />
anyway, i have a large database that has many fields with collation set to latin1_Swedish_ci and i want to change all of them to utf8_unicode_ci at once but i cant find the proper query for that. Something like UPDATE collate SET utf8_unicode_ci WHERE collate=latin1_Swedish_ci;<br />
<br />
Is it possible?<br />
<br />
Thank you.</div>

]]></content:encoded>
			<category domain="http://forums.databasejournal.com/forumdisplay.php?f=9">MySQL</category>
			<dc:creator>supercain</dc:creator>
			<guid isPermaLink="true">http://forums.databasejournal.com/showthread.php?t=53205</guid>
		</item>
		<item>
			<title>SQL: columns into row</title>
			<link>http://forums.databasejournal.com/showthread.php?t=53204&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 14:43:55 GMT</pubDate>
			<description>Could you please advise me on  how to transfer columns into rows

member             diag
------------------------
Smith                354.0
Smith                250.00
Smith                278.00

so it reads: 

member             diag
------------------------
Smith    354.0, 250.00, 278.00

thank you!</description>
			<content:encoded><![CDATA[<div>Could you please advise me on  how to transfer columns into rows<br />
<br />
member             diag<br />
------------------------<br />
Smith                354.0<br />
Smith                250.00<br />
Smith                278.00<br />
<br />
so it reads: <br />
<br />
member             diag<br />
------------------------<br />
Smith    354.0, 250.00, 278.00<br />
<br />
thank you!</div>

]]></content:encoded>
			<category domain="http://forums.databasejournal.com/forumdisplay.php?f=32">Ask an Expert</category>
			<dc:creator>sova1708</dc:creator>
			<guid isPermaLink="true">http://forums.databasejournal.com/showthread.php?t=53204</guid>
		</item>
		<item>
			<title>change collation at once</title>
			<link>http://forums.databasejournal.com/showthread.php?t=53203&amp;goto=newpost</link>
			<pubDate>Tue, 15 May 2012 04:14:31 GMT</pubDate>
			<description>Hi,

i have a large database that has many fields with collation set to latin1_Swedish_ci and i want to change all of them to utf8_unicode_ci at once but i cant find the proper query for that. Something like UPDATE collate SET utf8_unicode_ci WHERE collate=latin1_Swedish_ci;

Is it possible?

Thank you.</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
i have a large database that has many fields with collation set to latin1_Swedish_ci and i want to change all of them to utf8_unicode_ci at once but i cant find the proper query for that. Something like UPDATE collate SET utf8_unicode_ci WHERE collate=latin1_Swedish_ci;<br />
<br />
Is it possible?<br />
<br />
Thank you.</div>

]]></content:encoded>
			<category domain="http://forums.databasejournal.com/forumdisplay.php?f=13">Structured Query Language (SQL)</category>
			<dc:creator>supercain</dc:creator>
			<guid isPermaLink="true">http://forums.databasejournal.com/showthread.php?t=53203</guid>
		</item>
		<item>
			<title>problem with basic junction in query: not be able to retreive the proper data</title>
			<link>http://forums.databasejournal.com/showthread.php?t=53202&amp;goto=newpost</link>
			<pubDate>Mon, 14 May 2012 04:42:39 GMT</pubDate>
			<description><![CDATA[I have  the following tables:

Person (PK_PersonID, PersonFullName, FK_MbtiID)
Mbti(PK_MbtiID)
Dimension(PK_DimensionID, DimensionName)
MbtiDimension(FK_PK_DimensionID, FK_PK_MbtiID)

Dimension has data as followed:

PK_DimensionID, DimensionName
---------------------------------------------
E, Extraversion
I, Introversion
S, Sensing
N, Intuition
T, Thinking
F, Feeling
J, Judging
P, Perception

there are 16 mbti types from these dimensions, so the table Mbti has data as following:

PK_MbtiID
--------------
ISTJ
ISFJ
INFJ
INTJ
ISTP
ISFP
INFP
INTP
ESTP
ESFP
etc...

The link (entity relation many to many) between Mbti and Dimension is MbtiDimension which has data as following:

FK_PK_MbtiID, FK_PK_DimensionID
-------------------------------------------------
ISTJ, I
ISTJ, S
ISTJ, T
ISTJ, J
ISFJ, I
ISFJ, S
ISFJ, F
ISFJ, J
INFJ, I
INFJ, N
INFJ, F
INFJ, J
etc...

Person has one personnality,

PK_PersonID, PersonName, FK_MbtiID
---------------------------------------------------
1, John Citizen, ISTJ
2, Patrick Dupont, ISFJ
etc...


I want to retreive the John Citizen  given the parameter I, S, T.

I am doing the following:

SELECT personName
FROM Person P, Mbti M, MbtiDimension md, Dimension d
WHERE P.FK_MbtiID = M.PK_PersonID
AND M.PK_MbtiID = md.FK_PK_MbtiID
AND md.FK_PK_DimensionID = d. PK_DimensionID
AND DimensionName = "Introversion"
AND DimensionName = "Sensing"
AND DimensionName = "Thinking"

It does not return anything. However when I do the following:

SELECT personName
FROM Person P, Mbti M, MbtiDimension md, Dimension d
WHERE P.FK_MbtiID = M.PK_PersonID
AND M.PK_MbtiID = md.FK_PK_MbtiID
AND md.FK_PK_DimensionID = d. PK_DimensionID
AND DimensionName = "Introversion"
OR DimensionName = "Sensing"
OR DimensionName = "Thinking"

It returns me 2 lines, I understand why but I do not understand however why I do not have any line with the and command. Am I missing something?

Could you help me, solving this.

thank you in advance.]]></description>
			<content:encoded><![CDATA[<div>I have  the following tables:<br />
<br />
Person (PK_PersonID, PersonFullName, FK_MbtiID)<br />
Mbti(PK_MbtiID)<br />
Dimension(PK_DimensionID, DimensionName)<br />
MbtiDimension(FK_PK_DimensionID, FK_PK_MbtiID)<br />
<br />
Dimension has data as followed:<br />
<br />
PK_DimensionID, DimensionName<br />
---------------------------------------------<br />
E, Extraversion<br />
I, Introversion<br />
S, Sensing<br />
N, Intuition<br />
T, Thinking<br />
F, Feeling<br />
J, Judging<br />
P, Perception<br />
<br />
there are 16 mbti types from these dimensions, so the table Mbti has data as following:<br />
<br />
PK_MbtiID<br />
--------------<br />
ISTJ<br />
ISFJ<br />
INFJ<br />
INTJ<br />
ISTP<br />
ISFP<br />
INFP<br />
INTP<br />
ESTP<br />
ESFP<br />
etc...<br />
<br />
The link (entity relation many to many) between Mbti and Dimension is MbtiDimension which has data as following:<br />
<br />
FK_PK_MbtiID, FK_PK_DimensionID<br />
-------------------------------------------------<br />
ISTJ, I<br />
ISTJ, S<br />
ISTJ, T<br />
ISTJ, J<br />
ISFJ, I<br />
ISFJ, S<br />
ISFJ, F<br />
ISFJ, J<br />
INFJ, I<br />
INFJ, N<br />
INFJ, F<br />
INFJ, J<br />
etc...<br />
<br />
Person has one personnality,<br />
<br />
PK_PersonID, PersonName, FK_MbtiID<br />
---------------------------------------------------<br />
1, John Citizen, ISTJ<br />
2, Patrick Dupont, ISFJ<br />
etc...<br />
<br />
<br />
I want to retreive the John Citizen  given the parameter I, S, T.<br />
<br />
I am doing the following:<br />
<br />
SELECT personName<br />
FROM Person P, Mbti M, MbtiDimension md, Dimension d<br />
WHERE P.FK_MbtiID = M.PK_PersonID<br />
AND M.PK_MbtiID = md.FK_PK_MbtiID<br />
AND md.FK_PK_DimensionID = d. PK_DimensionID<br />
AND DimensionName = &quot;Introversion&quot;<br />
AND DimensionName = &quot;Sensing&quot;<br />
AND DimensionName = &quot;Thinking&quot;<br />
<br />
It does not return anything. However when I do the following:<br />
<br />
SELECT personName<br />
FROM Person P, Mbti M, MbtiDimension md, Dimension d<br />
WHERE P.FK_MbtiID = M.PK_PersonID<br />
AND M.PK_MbtiID = md.FK_PK_MbtiID<br />
AND md.FK_PK_DimensionID = d. PK_DimensionID<br />
AND DimensionName = &quot;Introversion&quot;<br />
OR DimensionName = &quot;Sensing&quot;<br />
OR DimensionName = &quot;Thinking&quot;<br />
<br />
It returns me 2 lines, I understand why but I do not understand however why I do not have any line with the and command. Am I missing something?<br />
<br />
Could you help me, solving this.<br />
<br />
thank you in advance.</div>

]]></content:encoded>
			<category domain="http://forums.databasejournal.com/forumdisplay.php?f=7">Microsoft Access</category>
			<dc:creator>cpietri</dc:creator>
			<guid isPermaLink="true">http://forums.databasejournal.com/showthread.php?t=53202</guid>
		</item>
		<item>
			<title>Error in sqlcourse2.com lesson 9?</title>
			<link>http://forums.databasejournal.com/showthread.php?t=53201&amp;goto=newpost</link>
			<pubDate>Wed, 09 May 2012 23:15:14 GMT</pubDate>
			<description><![CDATA[The exercise at the end of the lesson says "Select the item and per unit price for each item in the items_ordered table. Hint: Divide the price by the quantity."

The answer provided is:
select item, sum(price)/sum(quantity)
from items_ordered
group by item;

I think it should instead be:
select item, sum(quantity*price)/sum(quantity)
from items_ordered
group by item;

You can see why by looking at any item with a quantity exceeding 1, say, Sleeping Bags.  Three Sleeping Bags were purchased, one at $89.22 and two at $88.70.  This is a price per unit of ($89.22 + 2 x $88.70)/3 =  $88.87.  Compare this to the answer code provided, which generates a result of ($89.22 + $88.70)/3 = $59.31 for Sleeping Bags.  It appears that the answer provided is ignoring the fact that two sleeping bags, not one, were purchased at a price of $88.70.

Have I understood this correctly?]]></description>
			<content:encoded><![CDATA[<div>The exercise at the end of the lesson says &quot;Select the item and per unit price for each item in the items_ordered table. Hint: Divide the price by the quantity.&quot;<br />
<br />
The answer provided is:<br />
select item, sum(price)/sum(quantity)<br />
from items_ordered<br />
group by item;<br />
<br />
I think it should instead be:<br />
select item, sum(quantity*price)/sum(quantity)<br />
from items_ordered<br />
group by item;<br />
<br />
You can see why by looking at any item with a quantity exceeding 1, say, Sleeping Bags.  Three Sleeping Bags were purchased, one at $89.22 and two at $88.70.  This is a price per unit of ($89.22 + 2 x $88.70)/3 =  $88.87.  Compare this to the answer code provided, which generates a result of ($89.22 + $88.70)/3 = $59.31 for Sleeping Bags.  It appears that the answer provided is ignoring the fact that two sleeping bags, not one, were purchased at a price of $88.70.<br />
<br />
Have I understood this correctly?</div>

]]></content:encoded>
			<category domain="http://forums.databasejournal.com/forumdisplay.php?f=48">Feedback</category>
			<dc:creator>jjbarlas</dc:creator>
			<guid isPermaLink="true">http://forums.databasejournal.com/showthread.php?t=53201</guid>
		</item>
		<item>
			<title>Sql lesson 5 not functioning properly</title>
			<link>http://forums.databasejournal.com/showthread.php?t=53200&amp;goto=newpost</link>
			<pubDate>Wed, 09 May 2012 03:48:27 GMT</pubDate>
			<description><![CDATA[am working on Lesson 5 and it is coming up with the following error "invalid charaters used in command". I c&p from the answer and just changed the field names and the table name.]]></description>
			<content:encoded><![CDATA[<div>am working on Lesson 5 and it is coming up with the following error &quot;invalid charaters used in command&quot;. I c&amp;p from the answer and just changed the field names and the table name.</div>

]]></content:encoded>
			<category domain="http://forums.databasejournal.com/forumdisplay.php?f=48">Feedback</category>
			<dc:creator>SrThespian</dc:creator>
			<guid isPermaLink="true">http://forums.databasejournal.com/showthread.php?t=53200</guid>
		</item>
		<item>
			<title>sp_send_dbmail it was working</title>
			<link>http://forums.databasejournal.com/showthread.php?t=53199&amp;goto=newpost</link>
			<pubDate>Tue, 08 May 2012 15:39:42 GMT</pubDate>
			<description><![CDATA[I have a job which backs up the DB & send an email using sp_send_dbmail, it's been working for months up until now. Nothing to my knowledge, no matter how I run it I receive:

"Msg 22050, Level 16, State 1, Line 0
Error formatting query, probably invalid parameters
Msg 0, Level 20, State 0, Line 0
A severe error occurred on the current command.  The results, if any, should be discarded. "

By restarting the SQL Services will that fix the problem?]]></description>
			<content:encoded><![CDATA[<div>I have a job which backs up the DB &amp; send an email using sp_send_dbmail, it's been working for months up until now. Nothing to my knowledge, no matter how I run it I receive:<br />
<br />
&quot;Msg 22050, Level 16, State 1, Line 0<br />
Error formatting query, probably invalid parameters<br />
Msg 0, Level 20, State 0, Line 0<br />
A severe error occurred on the current command.  The results, if any, should be discarded. &quot;<br />
<br />
By restarting the SQL Services will that fix the problem?</div>

]]></content:encoded>
			<category domain="http://forums.databasejournal.com/forumdisplay.php?f=36">Microsoft SQL Server 2005</category>
			<dc:creator>kappa02</dc:creator>
			<guid isPermaLink="true">http://forums.databasejournal.com/showthread.php?t=53199</guid>
		</item>
		<item>
			<title>tables get lock during backup in db2 v9.5</title>
			<link>http://forums.databasejournal.com/showthread.php?t=53198&amp;goto=newpost</link>
			<pubDate>Tue, 08 May 2012 08:03:09 GMT</pubDate>
			<description><![CDATA[hello every body
 i have a problem in db2 v9.5.i hope you can help

 In IBM DB2 v9.5,when I back up my database and restore it on a new database, some of my tables in restored database are locked.
 My back up command is :
 CONNECT TO MYDB;
 QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS;
 CONNECT RESET;
 ; BACKUP DATABASE MYDB TO "C:\" WITH 2 BUFFERS BUFFER 1024 PARALLELISM 1 WITHOUT PROMPTING
 CONNECT TO MYDB;
 UNQUIESCE DATABASE;
 ; CONNECT RESET;
 This problem occurs every time I backup and restore my DB.
 thank you in advance]]></description>
			<content:encoded><![CDATA[<div>hello every body<br />
 i have a problem in db2 v9.5.i hope you can help<br />
<br />
 In IBM DB2 v9.5,when I back up my database and restore it on a new database, some of my tables in restored database are locked.<br />
 My back up command is :<br />
 CONNECT TO MYDB;<br />
 QUIESCE DATABASE IMMEDIATE FORCE CONNECTIONS;<br />
 CONNECT RESET;<br />
 ; BACKUP DATABASE MYDB TO &quot;C:\&quot; WITH 2 BUFFERS BUFFER 1024 PARALLELISM 1 WITHOUT PROMPTING<br />
 CONNECT TO MYDB;<br />
 UNQUIESCE DATABASE;<br />
 ; CONNECT RESET;<br />
 This problem occurs every time I backup and restore my DB.<br />
 thank you in advance</div>

]]></content:encoded>
			<category domain="http://forums.databasejournal.com/forumdisplay.php?f=8">IBM DB2</category>
			<dc:creator>Hamsoo</dc:creator>
			<guid isPermaLink="true">http://forums.databasejournal.com/showthread.php?t=53198</guid>
		</item>
		<item>
			<title><![CDATA[Problem on design stage of database modeling for "Myers-Briggs Type Indicator"]]></title>
			<link>http://forums.databasejournal.com/showthread.php?t=53197&amp;goto=newpost</link>
			<pubDate>Tue, 08 May 2012 07:40:58 GMT</pubDate>
			<description><![CDATA[Hi,

I want to model a database corresponding of the "Myers-Briggs Type Indicator" idea of classification.

Basically he uses dichotomies as follows:
Extraversion (E) - (I) Introversion
Sensing (S) - (N) Intuition
Thinking (T) - (F) Feeling
Judging (J) - (P) Perception

and from the dichotomies a matrix table is produce as follow:
ISTJ	ISFJ	INFJ	INTJ
ISTP	ISFP	INFP	INTP
ESTP	ESFP	ENFP	ENTP
ESTJ	ESFJ	ENFJ	ENTJ

The rules are that:
- E or I cannot be put together it is either E or I, the same goes for S&N, T&F, J&P.
- The order is important.
- The all four concepts should be added together and not one should be missing otherwise it does not make any sense.

There is also the concept of traits which for my perspective should be another table. Ex: Shy is a trait and shy refers to (I) Introversion.

These are the concepts I am a little confuse how to model.

I thought about doing something like 

Table characteristic (Id, Name) ex of data:
E, Extraversion
I, Introversion
S, Sensing
etc...

Table Personnality type (Id, Characteristic_Id#1, Characteristic_Id#2, Characteristic_Id#3, Characteristic_Id#4)
ex of data
1, I, S, T, J
etc...

but I feel like the repetition of the filed 4 times is not very proper isn't it?

Could you help me clarify a bit this concept oriented to the database? Note that I will have to do a lot of SQL to attack the db.

Thank you in advance for your time.
Clem.]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I want to model a database corresponding of the &quot;Myers-Briggs Type Indicator&quot; idea of classification.<br />
<br />
Basically he uses dichotomies as follows:<br />
Extraversion (E) - (I) Introversion<br />
Sensing (S) - (N) Intuition<br />
Thinking (T) - (F) Feeling<br />
Judging (J) - (P) Perception<br />
<br />
and from the dichotomies a matrix table is produce as follow:<br />
ISTJ	ISFJ	INFJ	INTJ<br />
ISTP	ISFP	INFP	INTP<br />
ESTP	ESFP	ENFP	ENTP<br />
ESTJ	ESFJ	ENFJ	ENTJ<br />
<br />
The rules are that:<br />
- E or I cannot be put together it is either E or I, the same goes for S&amp;N, T&amp;F, J&amp;P.<br />
- The order is important.<br />
- The all four concepts should be added together and not one should be missing otherwise it does not make any sense.<br />
<br />
There is also the concept of traits which for my perspective should be another table. Ex: Shy is a trait and shy refers to (I) Introversion.<br />
<br />
These are the concepts I am a little confuse how to model.<br />
<br />
I thought about doing something like <br />
<br />
Table characteristic (Id, Name) ex of data:<br />
E, Extraversion<br />
I, Introversion<br />
S, Sensing<br />
etc...<br />
<br />
Table Personnality type (Id, Characteristic_Id#1, Characteristic_Id#2, Characteristic_Id#3, Characteristic_Id#4)<br />
ex of data<br />
1, I, S, T, J<br />
etc...<br />
<br />
but I feel like the repetition of the filed 4 times is not very proper isn't it?<br />
<br />
Could you help me clarify a bit this concept oriented to the database? Note that I will have to do a lot of SQL to attack the db.<br />
<br />
Thank you in advance for your time.<br />
Clem.</div>

]]></content:encoded>
			<category domain="http://forums.databasejournal.com/forumdisplay.php?f=27">Database Design</category>
			<dc:creator>cpietri</dc:creator>
			<guid isPermaLink="true">http://forums.databasejournal.com/showthread.php?t=53197</guid>
		</item>
		<item>
			<title>Maximum number of Columns in a table</title>
			<link>http://forums.databasejournal.com/showthread.php?t=53196&amp;goto=newpost</link>
			<pubDate>Sat, 05 May 2012 18:22:46 GMT</pubDate>
			<description>What is the maximum number of columns in a table? As you can see in my attachment, table MortgageBank has 22 tables. Is this ok?


Thanks</description>
			<content:encoded><![CDATA[<div>What is the maximum number of columns in a table? As you can see in my attachment, table MortgageBank has 22 tables. Is this ok?<br />
<br />
<br />
Thanks</div>


	<br />
	<div style="padding:6px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<table cellpadding="0" cellspacing="0" border="0">
			<tr>
	<td><img class="inlineimg" src="http://forums.databasejournal.com/images/attach/jpg.gif" alt="File Type: jpg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
	<td><a href="http://forums.databasejournal.com/attachment.php?attachmentid=616&amp;d=1336242089" target="_blank">Bank7.jpg</a> (54.7 KB)</td>
</tr>
			</table>
			</fieldset>
	

	

	</div>
]]></content:encoded>
			<category domain="http://forums.databasejournal.com/forumdisplay.php?f=43">Microsoft SQL Server 2008</category>
			<dc:creator>samijohn</dc:creator>
			<guid isPermaLink="true">http://forums.databasejournal.com/showthread.php?t=53196</guid>
		</item>
		<item>
			<title>Test, just a test</title>
			<link>http://forums.databasejournal.com/showthread.php?t=53195&amp;goto=newpost</link>
			<pubDate>Sat, 05 May 2012 11:57:00 GMT</pubDate>
			<description>Hello. And Bye.</description>
			<content:encoded><![CDATA[<div>Hello. And Bye.</div>

]]></content:encoded>
			<category domain="http://forums.databasejournal.com/forumdisplay.php?f=29">Sybase</category>
			<dc:creator>XRumerTest</dc:creator>
			<guid isPermaLink="true">http://forums.databasejournal.com/showthread.php?t=53195</guid>
		</item>
		<item>
			<title>Move from spreadsheet database to MS SQL Server 7</title>
			<link>http://forums.databasejournal.com/showthread.php?t=53194&amp;goto=newpost</link>
			<pubDate>Thu, 03 May 2012 09:47:40 GMT</pubDate>
			<description>If you managed a business with 53 staff using a spreadsheet database like the one at www.supersoftbox.com and when you grow up to 100 staff, would MS SQL Server 7 be a good move, or should an MS Access be enough? (moves from selling 200 ellectronic articles in 3 stores, to selling 700 articles in 5 stores)
 -Laxer</description>
			<content:encoded><![CDATA[<div>If you managed a business with 53 staff using a spreadsheet database like the one at <a rel="nofollow" href="http://www.supersoftbox.com" target="_blank">www.supersoftbox.com</a> and when you grow up to 100 staff, would MS SQL Server 7 be a good move, or should an MS Access be enough? (moves from selling 200 ellectronic articles in 3 stores, to selling 700 articles in 5 stores)<br />
 -Laxer</div>

]]></content:encoded>
			<category domain="http://forums.databasejournal.com/forumdisplay.php?f=23">MS SQL Server 7/MS SQL Server 2000</category>
			<dc:creator>Laxer</dc:creator>
			<guid isPermaLink="true">http://forums.databasejournal.com/showthread.php?t=53194</guid>
		</item>
		<item>
			<title>In-memory database interest ?</title>
			<link>http://forums.databasejournal.com/showthread.php?t=53193&amp;goto=newpost</link>
			<pubDate>Wed, 02 May 2012 09:20:13 GMT</pubDate>
			<description><![CDATA[Hi,

I don't really have any trouble but i quite interesting to your judgment. I wonder if in-memory databases are more performant than database management you implement in a programming language. I aware they give some real avantages like SQL interface, Triggers mecanism, concurrency and more. But don't we lose in performance when we connect to the database, then making transactions, committing transactions or transcript the SQL response into a programming langage. 

If we just make our own database management, we don't have to connect or committing, we don't have to parse SQL to use data. Don't it be more efficient, quick and performant? 

Thank you !]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I don't really have any trouble but i quite interesting to your judgment. I wonder if in-memory databases are more performant than database management you implement in a programming language. I aware they give some real avantages like SQL interface, Triggers mecanism, concurrency and more. But don't we lose in performance when we connect to the database, then making transactions, committing transactions or transcript the SQL response into a programming langage. <br />
<br />
If we just make our own database management, we don't have to connect or committing, we don't have to parse SQL to use data. Don't it be more efficient, quick and performant? <br />
<br />
Thank you !</div>

]]></content:encoded>
			<category domain="http://forums.databasejournal.com/forumdisplay.php?f=45">General Database Discussions</category>
			<dc:creator>seline</dc:creator>
			<guid isPermaLink="true">http://forums.databasejournal.com/showthread.php?t=53193</guid>
		</item>
		<item>
			<title>Really need a help</title>
			<link>http://forums.databasejournal.com/showthread.php?t=53192&amp;goto=newpost</link>
			<pubDate>Wed, 02 May 2012 05:50:27 GMT</pubDate>
			<description><![CDATA[can someone please help me solve this drill?

there's a schema:

ACTIVITY_TYPE (Activity_type_code, Activity_type)
USERS (User_code, User_name, Password)
PROJECT (Project_code, Project_name, Customer_code, Cost, Start_date, End_date)
CUSTOMER (Customer_code, Customer_name)
ACTIVITY (Activity_code, Activity_name, Project_code, Activity_type_code, Complexity)
ACTIVITY_IMPORTANCE (Customer_code, Activity_code, importance)
CREATED_BY (Activity_code, User_code)
ASSIGNED_TO (Activity_code, Developer_name)
DEVELOPER (Developer_name, Seniority)
NEEDED_PARTS (Activity_code, PartID, cost)

and i need to return (in RA) all activities (from (activity_name)) and projects names who belonged to them that meet to following requirtements:

1. high complexity
2.the customer who ordered a project payed for each of the projects he ordered at least 100k
3.at least some of the project's building time was on april 2012

thank you very much!! the help is much needed]]></description>
			<content:encoded><![CDATA[<div>can someone please help me solve this drill?<br />
<br />
there's a schema:<br />
<br />
ACTIVITY_TYPE (Activity_type_code, Activity_type)<br />
USERS (User_code, User_name, Password)<br />
PROJECT (Project_code, Project_name, Customer_code, Cost, Start_date, End_date)<br />
CUSTOMER (Customer_code, Customer_name)<br />
ACTIVITY (Activity_code, Activity_name, Project_code, Activity_type_code, Complexity)<br />
ACTIVITY_IMPORTANCE (Customer_code, Activity_code, importance)<br />
CREATED_BY (Activity_code, User_code)<br />
ASSIGNED_TO (Activity_code, Developer_name)<br />
DEVELOPER (Developer_name, Seniority)<br />
NEEDED_PARTS (Activity_code, PartID, cost)<br />
<br />
and i need to return (in RA) all activities (from (activity_name)) and projects names who belonged to them that meet to following requirtements:<br />
<br />
1. high complexity<br />
2.the customer who ordered a project payed for each of the projects he ordered at least 100k<br />
3.at least some of the project's building time was on april 2012<br />
<br />
thank you very much!! the help is much needed</div>

]]></content:encoded>
			<category domain="http://forums.databasejournal.com/forumdisplay.php?f=45">General Database Discussions</category>
			<dc:creator>pilot_raam</dc:creator>
			<guid isPermaLink="true">http://forums.databasejournal.com/showthread.php?t=53192</guid>
		</item>
		<item>
			<title>INNER JOIN vs WHERE</title>
			<link>http://forums.databasejournal.com/showthread.php?t=53191&amp;goto=newpost</link>
			<pubDate>Tue, 01 May 2012 10:21:41 GMT</pubDate>
			<description><![CDATA[Hi,

I need to filter out records from a query that select items from 6-7 tables (using union all).
All these tables has a field of transaction guid.
I also have a Transactions table with all tran. guids.

The question is what better to do:
Use an INER JOIN 6-7 times on each item table
or
Add "WHERE itemTransactionGuid in (select trnGuid from Transactions)" on each item table
:confused:

The query is part of a report's SP so performance is important. 
Any help will be appriciated.
Thanks!!]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I need to filter out records from a query that select items from 6-7 tables (using union all).<br />
All these tables has a field of transaction guid.<br />
I also have a Transactions table with all tran. guids.<br />
<br />
The question is what better to do:<br />
Use an INER JOIN 6-7 times on each item table<br />
or<br />
Add &quot;WHERE itemTransactionGuid in (select trnGuid from Transactions)&quot; on each item table<br />
:confused:<br />
<br />
The query is part of a report's SP so performance is important. <br />
Any help will be appriciated.<br />
Thanks!!</div>

]]></content:encoded>
			<category domain="http://forums.databasejournal.com/forumdisplay.php?f=43">Microsoft SQL Server 2008</category>
			<dc:creator>mrkorr</dc:creator>
			<guid isPermaLink="true">http://forums.databasejournal.com/showthread.php?t=53191</guid>
		</item>
	</channel>
</rss>

