Does anyone know why I am unable to make this a persisted column?
create table test (
a varchar(500),
b as (case(left([a], 4)) when 'Test' then 1 else 0 end)
)
After created I go into SSMS and am unable to modify 'IsPersisted' column
from NO to YES"paul" <paul@.discussions.microsoft.com> wrote in message
news:23A62435-6274-4341-A100-0210B0520A7F@.microsoft.com...
> Does anyone know why I am unable to make this a persisted column?
> create table test (
> a varchar(500),
> b as (case(left([a], 4)) when 'Test' then 1 else 0 end)
> )
> After created I go into SSMS and am unable to modify 'IsPersisted' column
> from NO to YES
create table test
(
a varchar(500),
b as (case(left([a], 4)) when 'Test' then 1 else 0 end) persisted
)
David|||Thanks David. When I ran this it didn't work. Then I realized the database
I was running it on was sql2000 version. Once I tried it on sql2005, worked
like a charm.
"David Browne" wrote:
> "paul" <paul@.discussions.microsoft.com> wrote in message
> news:23A62435-6274-4341-A100-0210B0520A7F@.microsoft.com...
> create table test
> (
> a varchar(500),
> b as (case(left([a], 4)) when 'Test' then 1 else 0 end) persisted
> )
> David
>
>
Showing posts with label case. Show all posts
Showing posts with label case. Show all posts
Sunday, March 25, 2012
Saturday, February 25, 2012
Complex Query - Part II
I am passing the following query:
select type, count(*) as 'Total', sum(case when status = 'Closed' then 1
else 0 end) as 'Closed',
sum(case when status = 'Pending' then 1 else 0 end) as 'Pending',
sum(case when status = 'Escalated' then 1 else 0 end) as 'Escalated'
from ticket where location in (select location from location where
lstate = 'mp')
and received_date between '5/1/2004' and '5/10/2004' group by type
My requirement is for totals of each column generated, suggest. I am
using an automated asp script written by me for generating dynamic sql
reports, for which i just need to give the sql statement, suggest how to
get totals of each column generated automatically if it is of numeric
value and to ignore totals if it is of non numeric value.
Through sql query only.
Part II because my earlier post on May 10, 2004 was not answered.
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
On Wed, 16 Jun 2004 23:03:50 -0700, Preet Kanwaljit Singh Shergill wrote:
>
>I am passing the following query:
>select type, count(*) as 'Total', sum(case when status = 'Closed' then 1
>else 0 end) as 'Closed',
>sum(case when status = 'Pending' then 1 else 0 end) as 'Pending',
>sum(case when status = 'Escalated' then 1 else 0 end) as 'Escalated'
>from ticket where location in (select location from location where
>lstate = 'mp')
>and received_date between '5/1/2004' and '5/10/2004' group by type
>My requirement is for totals of each column generated, suggest. I am
>using an automated asp script written by me for generating dynamic sql
>reports, for which i just need to give the sql statement, suggest how to
>get totals of each column generated automatically if it is of numeric
>value and to ignore totals if it is of non numeric value.
>Through sql query only.
>
>Part II because my earlier post on May 10, 2004 was not answered.
>*** Sent via Devdex http://www.devdex.com ***
>Don't just participate in USENET...get rewarded for it!
Hi Preet,
If I understand your question correctly, you can either use this:
SELECT type, COUNT(*) AS 'Total',
COUNT(CASE WHEN status = 'Closed' THEN 1 END) AS 'Closed',
COUNT(CASE WHEN status = 'Pending' THEN 1 END) AS 'Pending',
COUNT(CASE WHEN status = 'Escalated' THEN 1 END) AS 'Escalated'
FROM ticket
WHERE location IN (SELECT location FROM location WHERE lstate = 'mp')
AND received_date BETWEEN '20040105' AND '20051005'
GROUP BY type
UNION ALL
SELECT 'Total', COUNT(*) AS 'Total',
COUNT(CASE WHEN status = 'Closed' THEN 1 END) AS 'Closed',
COUNT(CASE WHEN status = 'Pending' THEN 1 END) AS 'Pending',
COUNT(CASE WHEN status = 'Escalated' THEN 1 END) AS 'Escalated'
FROM ticket
WHERE location IN (SELECT location FROM location WHERE lstate = 'mp')
AND received_date BETWEEN '20040105' AND '20051005'
(untested)
Or you can look up ROLLUP in Books Online and see if that helps.
Final notes:
1) I changed the ambiguous date format you used to the recommended
YYYYMMDD format. Check if I didn't exchange the DD and MM parts of your
query.
2) I *think* that the subquery for location can be changed to an inner
join, but I'd have to know your table structure to be sure. The inner join
might yield better performance.
Best, Hugo
(Remove _NO_ and _SPAM_ to get my e-mail address)
|||Thanks a ton, it does solve my problem.
With this solution my SQL based reporting will be even faster than
before with minimal network traffic.
I no longer have to bother about html lipstick work.
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
select type, count(*) as 'Total', sum(case when status = 'Closed' then 1
else 0 end) as 'Closed',
sum(case when status = 'Pending' then 1 else 0 end) as 'Pending',
sum(case when status = 'Escalated' then 1 else 0 end) as 'Escalated'
from ticket where location in (select location from location where
lstate = 'mp')
and received_date between '5/1/2004' and '5/10/2004' group by type
My requirement is for totals of each column generated, suggest. I am
using an automated asp script written by me for generating dynamic sql
reports, for which i just need to give the sql statement, suggest how to
get totals of each column generated automatically if it is of numeric
value and to ignore totals if it is of non numeric value.
Through sql query only.
Part II because my earlier post on May 10, 2004 was not answered.
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
On Wed, 16 Jun 2004 23:03:50 -0700, Preet Kanwaljit Singh Shergill wrote:
>
>I am passing the following query:
>select type, count(*) as 'Total', sum(case when status = 'Closed' then 1
>else 0 end) as 'Closed',
>sum(case when status = 'Pending' then 1 else 0 end) as 'Pending',
>sum(case when status = 'Escalated' then 1 else 0 end) as 'Escalated'
>from ticket where location in (select location from location where
>lstate = 'mp')
>and received_date between '5/1/2004' and '5/10/2004' group by type
>My requirement is for totals of each column generated, suggest. I am
>using an automated asp script written by me for generating dynamic sql
>reports, for which i just need to give the sql statement, suggest how to
>get totals of each column generated automatically if it is of numeric
>value and to ignore totals if it is of non numeric value.
>Through sql query only.
>
>Part II because my earlier post on May 10, 2004 was not answered.
>*** Sent via Devdex http://www.devdex.com ***
>Don't just participate in USENET...get rewarded for it!
Hi Preet,
If I understand your question correctly, you can either use this:
SELECT type, COUNT(*) AS 'Total',
COUNT(CASE WHEN status = 'Closed' THEN 1 END) AS 'Closed',
COUNT(CASE WHEN status = 'Pending' THEN 1 END) AS 'Pending',
COUNT(CASE WHEN status = 'Escalated' THEN 1 END) AS 'Escalated'
FROM ticket
WHERE location IN (SELECT location FROM location WHERE lstate = 'mp')
AND received_date BETWEEN '20040105' AND '20051005'
GROUP BY type
UNION ALL
SELECT 'Total', COUNT(*) AS 'Total',
COUNT(CASE WHEN status = 'Closed' THEN 1 END) AS 'Closed',
COUNT(CASE WHEN status = 'Pending' THEN 1 END) AS 'Pending',
COUNT(CASE WHEN status = 'Escalated' THEN 1 END) AS 'Escalated'
FROM ticket
WHERE location IN (SELECT location FROM location WHERE lstate = 'mp')
AND received_date BETWEEN '20040105' AND '20051005'
(untested)
Or you can look up ROLLUP in Books Online and see if that helps.
Final notes:
1) I changed the ambiguous date format you used to the recommended
YYYYMMDD format. Check if I didn't exchange the DD and MM parts of your
query.
2) I *think* that the subquery for location can be changed to an inner
join, but I'd have to know your table structure to be sure. The inner join
might yield better performance.
Best, Hugo
(Remove _NO_ and _SPAM_ to get my e-mail address)
|||Thanks a ton, it does solve my problem.
With this solution my SQL based reporting will be even faster than
before with minimal network traffic.
I no longer have to bother about html lipstick work.
*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Friday, February 24, 2012
Complex Case Statement in View in SQL Server 2000
I am working on SQL Server 2000.
I am trying to create a Case Statement where I do something like the
following:
I want to set up the case statement to check if a value falls within a
specific range then sum the unit amount as the type of data it
represents.
SELECT COMPANY, FISCAL_YEAR, BUDGET_NBR, ACCT_UNIT, ACCOUNT,
[MONTH],
CASE ACCOUNT WHEN >= 51110 AND <= 51140 THEN
SUM(UNIT) AS BudFTEProd
WHEN >= 51210 and <= 51240 THEN
SUM(UNIT) AS BudFTEProdOth
WHEN >= 51310 and <= 51340 THEN
SUM(UNIT) AS BudFTENonProd
END
FROM dbo.FBDETAIL_MO_AU_ACCT_VIEW
GROUP BY COMPANY, FISCAL_YEAR, BUDGET_NBR, [MONTH], ACCT_UNIT, ACCOUNT
HAVING (FISCAL_YEAR = 2006)
Anyone know how I would do this?
Thanks,
DebbieTry:
SELECT COMPANY, FISCAL_YEAR, BUDGET_NBR, ACCT_UNIT, ACCOUNT,
[MONTH],
SUM (CASE WHEN ACCOUNT >= 51110 AND ACCOUNT <= 51140 THEN
UNIT ELSE 0 END) AS BudFTEProd,
SUM (CASE WHEN ACCOUNT >= 51210 and ACCOUNT <= 51240 THEN
UNIT ELSE 0 END) AS BudFTEProdOth,
SUM(CASE WHEN ACCOUNT >= 51310 and ACCOUNT <= 51340 THEN
UNIT ELSE 0 END) AS BudFTENonProd
FROM dbo.FBDETAIL_MO_AU_ACCT_VIEW
WHERE (FISCAL_YEAR = 2006)
GROUP BY COMPANY, FISCAL_YEAR, BUDGET_NBR, [MONTH], ACCT_UNIT, ACCOUNT
Tom
----
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Toronto, ON Canada
.
"Debbie" <debsmithmich@.hotmail.com> wrote in message
news:1156263058.634273.58140@.m79g2000cwm.googlegroups.com...
I am working on SQL Server 2000.
I am trying to create a Case Statement where I do something like the
following:
I want to set up the case statement to check if a value falls within a
specific range then sum the unit amount as the type of data it
represents.
SELECT COMPANY, FISCAL_YEAR, BUDGET_NBR, ACCT_UNIT, ACCOUNT,
[MONTH],
CASE ACCOUNT WHEN >= 51110 AND <= 51140 THEN
SUM(UNIT) AS BudFTEProd
WHEN >= 51210 and <= 51240 THEN
SUM(UNIT) AS BudFTEProdOth
WHEN >= 51310 and <= 51340 THEN
SUM(UNIT) AS BudFTENonProd
END
FROM dbo.FBDETAIL_MO_AU_ACCT_VIEW
GROUP BY COMPANY, FISCAL_YEAR, BUDGET_NBR, [MONTH], ACCT_UNIT, ACCOUNT
HAVING (FISCAL_YEAR = 2006)
Anyone know how I would do this?
Thanks,
Debbie
I am trying to create a Case Statement where I do something like the
following:
I want to set up the case statement to check if a value falls within a
specific range then sum the unit amount as the type of data it
represents.
SELECT COMPANY, FISCAL_YEAR, BUDGET_NBR, ACCT_UNIT, ACCOUNT,
[MONTH],
CASE ACCOUNT WHEN >= 51110 AND <= 51140 THEN
SUM(UNIT) AS BudFTEProd
WHEN >= 51210 and <= 51240 THEN
SUM(UNIT) AS BudFTEProdOth
WHEN >= 51310 and <= 51340 THEN
SUM(UNIT) AS BudFTENonProd
END
FROM dbo.FBDETAIL_MO_AU_ACCT_VIEW
GROUP BY COMPANY, FISCAL_YEAR, BUDGET_NBR, [MONTH], ACCT_UNIT, ACCOUNT
HAVING (FISCAL_YEAR = 2006)
Anyone know how I would do this?
Thanks,
DebbieTry:
SELECT COMPANY, FISCAL_YEAR, BUDGET_NBR, ACCT_UNIT, ACCOUNT,
[MONTH],
SUM (CASE WHEN ACCOUNT >= 51110 AND ACCOUNT <= 51140 THEN
UNIT ELSE 0 END) AS BudFTEProd,
SUM (CASE WHEN ACCOUNT >= 51210 and ACCOUNT <= 51240 THEN
UNIT ELSE 0 END) AS BudFTEProdOth,
SUM(CASE WHEN ACCOUNT >= 51310 and ACCOUNT <= 51340 THEN
UNIT ELSE 0 END) AS BudFTENonProd
FROM dbo.FBDETAIL_MO_AU_ACCT_VIEW
WHERE (FISCAL_YEAR = 2006)
GROUP BY COMPANY, FISCAL_YEAR, BUDGET_NBR, [MONTH], ACCT_UNIT, ACCOUNT
Tom
----
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Toronto, ON Canada
.
"Debbie" <debsmithmich@.hotmail.com> wrote in message
news:1156263058.634273.58140@.m79g2000cwm.googlegroups.com...
I am working on SQL Server 2000.
I am trying to create a Case Statement where I do something like the
following:
I want to set up the case statement to check if a value falls within a
specific range then sum the unit amount as the type of data it
represents.
SELECT COMPANY, FISCAL_YEAR, BUDGET_NBR, ACCT_UNIT, ACCOUNT,
[MONTH],
CASE ACCOUNT WHEN >= 51110 AND <= 51140 THEN
SUM(UNIT) AS BudFTEProd
WHEN >= 51210 and <= 51240 THEN
SUM(UNIT) AS BudFTEProdOth
WHEN >= 51310 and <= 51340 THEN
SUM(UNIT) AS BudFTENonProd
END
FROM dbo.FBDETAIL_MO_AU_ACCT_VIEW
GROUP BY COMPANY, FISCAL_YEAR, BUDGET_NBR, [MONTH], ACCT_UNIT, ACCOUNT
HAVING (FISCAL_YEAR = 2006)
Anyone know how I would do this?
Thanks,
Debbie
Complex Case Statement in View in SQL Server 2000
I am working on SQL Server 2000.
I am trying to create a Case Statement where I do something like the
following:
I want to set up the case statement to check if a value falls within a
specific range then sum the unit amount as the type of data it
represents.
SELECT COMPANY, FISCAL_YEAR, BUDGET_NBR, ACCT_UNIT, ACCOUNT,
[MONTH],
CASE ACCOUNT WHEN >= 51110 AND <= 51140 THEN
SUM(UNIT) AS BudFTEProd
WHEN >= 51210 and <= 51240 THEN
SUM(UNIT) AS BudFTEProdOth
WHEN >= 51310 and <= 51340 THEN
SUM(UNIT) AS BudFTENonProd
END
FROM dbo.FBDETAIL_MO_AU_ACCT_VIEW
GROUP BY COMPANY, FISCAL_YEAR, BUDGET_NBR, [MONTH], ACCT_UNIT, ACCOUNT
HAVING (FISCAL_YEAR = 2006)
Anyone know how I would do this?
Thanks,
DebbieTry:
SELECT COMPANY, FISCAL_YEAR, BUDGET_NBR, ACCT_UNIT, ACCOUNT,
[MONTH],
SUM (CASE WHEN ACCOUNT >= 51110 AND ACCOUNT <= 51140 THEN
UNIT ELSE 0 END) AS BudFTEProd,
SUM (CASE WHEN ACCOUNT >= 51210 and ACCOUNT <= 51240 THEN
UNIT ELSE 0 END) AS BudFTEProdOth,
SUM(CASE WHEN ACCOUNT >= 51310 and ACCOUNT <= 51340 THEN
UNIT ELSE 0 END) AS BudFTENonProd
FROM dbo.FBDETAIL_MO_AU_ACCT_VIEW
WHERE (FISCAL_YEAR = 2006)
GROUP BY COMPANY, FISCAL_YEAR, BUDGET_NBR, [MONTH], ACCT_UNIT, ACCOUNT
Tom
----
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Toronto, ON Canada
.
"Debbie" <debsmithmich@.hotmail.com> wrote in message
news:1156263058.634273.58140@.m79g2000cwm.googlegroups.com...
I am working on SQL Server 2000.
I am trying to create a Case Statement where I do something like the
following:
I want to set up the case statement to check if a value falls within a
specific range then sum the unit amount as the type of data it
represents.
SELECT COMPANY, FISCAL_YEAR, BUDGET_NBR, ACCT_UNIT, ACCOUNT,
[MONTH],
CASE ACCOUNT WHEN >= 51110 AND <= 51140 THEN
SUM(UNIT) AS BudFTEProd
WHEN >= 51210 and <= 51240 THEN
SUM(UNIT) AS BudFTEProdOth
WHEN >= 51310 and <= 51340 THEN
SUM(UNIT) AS BudFTENonProd
END
FROM dbo.FBDETAIL_MO_AU_ACCT_VIEW
GROUP BY COMPANY, FISCAL_YEAR, BUDGET_NBR, [MONTH], ACCT_UNIT, ACCOUNT
HAVING (FISCAL_YEAR = 2006)
Anyone know how I would do this?
Thanks,
Debbie
I am trying to create a Case Statement where I do something like the
following:
I want to set up the case statement to check if a value falls within a
specific range then sum the unit amount as the type of data it
represents.
SELECT COMPANY, FISCAL_YEAR, BUDGET_NBR, ACCT_UNIT, ACCOUNT,
[MONTH],
CASE ACCOUNT WHEN >= 51110 AND <= 51140 THEN
SUM(UNIT) AS BudFTEProd
WHEN >= 51210 and <= 51240 THEN
SUM(UNIT) AS BudFTEProdOth
WHEN >= 51310 and <= 51340 THEN
SUM(UNIT) AS BudFTENonProd
END
FROM dbo.FBDETAIL_MO_AU_ACCT_VIEW
GROUP BY COMPANY, FISCAL_YEAR, BUDGET_NBR, [MONTH], ACCT_UNIT, ACCOUNT
HAVING (FISCAL_YEAR = 2006)
Anyone know how I would do this?
Thanks,
DebbieTry:
SELECT COMPANY, FISCAL_YEAR, BUDGET_NBR, ACCT_UNIT, ACCOUNT,
[MONTH],
SUM (CASE WHEN ACCOUNT >= 51110 AND ACCOUNT <= 51140 THEN
UNIT ELSE 0 END) AS BudFTEProd,
SUM (CASE WHEN ACCOUNT >= 51210 and ACCOUNT <= 51240 THEN
UNIT ELSE 0 END) AS BudFTEProdOth,
SUM(CASE WHEN ACCOUNT >= 51310 and ACCOUNT <= 51340 THEN
UNIT ELSE 0 END) AS BudFTENonProd
FROM dbo.FBDETAIL_MO_AU_ACCT_VIEW
WHERE (FISCAL_YEAR = 2006)
GROUP BY COMPANY, FISCAL_YEAR, BUDGET_NBR, [MONTH], ACCT_UNIT, ACCOUNT
Tom
----
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Toronto, ON Canada
.
"Debbie" <debsmithmich@.hotmail.com> wrote in message
news:1156263058.634273.58140@.m79g2000cwm.googlegroups.com...
I am working on SQL Server 2000.
I am trying to create a Case Statement where I do something like the
following:
I want to set up the case statement to check if a value falls within a
specific range then sum the unit amount as the type of data it
represents.
SELECT COMPANY, FISCAL_YEAR, BUDGET_NBR, ACCT_UNIT, ACCOUNT,
[MONTH],
CASE ACCOUNT WHEN >= 51110 AND <= 51140 THEN
SUM(UNIT) AS BudFTEProd
WHEN >= 51210 and <= 51240 THEN
SUM(UNIT) AS BudFTEProdOth
WHEN >= 51310 and <= 51340 THEN
SUM(UNIT) AS BudFTENonProd
END
FROM dbo.FBDETAIL_MO_AU_ACCT_VIEW
GROUP BY COMPANY, FISCAL_YEAR, BUDGET_NBR, [MONTH], ACCT_UNIT, ACCOUNT
HAVING (FISCAL_YEAR = 2006)
Anyone know how I would do this?
Thanks,
Debbie
Tuesday, February 14, 2012
compatibility level
Sorry here is the query
select Client_Name = rtrim(p.Last_Name) +
Case p.Mid_Name
WHEN null then ' '
WHEN ' ' then ' '
Else ' ' + p.Mid_Name + ' '
End
+ ltrim(p.First_Name)
FROM Client_Info c, Persons p
WHERE c.Client_no = '0004530184'
and c.person_id = p.Person_id
>--Original Message--
>I recently upgraded my database from 6.5 to 2000. To
take
>advantge of user defined functions I changed the
>compatibility level from 65 to 80. the following query
in
>my code now returns null if the middle name is null. Con
>someone explain wht this is happening and how I can fix?
>Thanks
>.
>
As Sue stated in her post, your query will be affected by the
CONCAT_NULL_YIELDS_NULL setting. To avoid that dependency, or write the
query better overall, you would use
select Client_Name = rtrim(p.Last_Name) +
isnull(p.Mid_Name,' ') + ltrim(p.First_Name)
FROM Client_Info c, Persons p
WHERE c.Client_no = '0004530184'
and c.person_id = p.Person_id
"Steve" <anonymous@.discussions.microsoft.com> wrote in message
news:173f01c499c1$0b721420$a401280a@.phx.gbl...[vbcol=seagreen]
> Sorry here is the query
> select Client_Name = rtrim(p.Last_Name) +
> Case p.Mid_Name
> WHEN null then ' '
> WHEN ' ' then ' '
> Else ' ' + p.Mid_Name + ' '
> End
> + ltrim(p.First_Name)
> FROM Client_Info c, Persons p
> WHERE c.Client_no = '0004530184'
> and c.person_id = p.Person_id
> take
> in
select Client_Name = rtrim(p.Last_Name) +
Case p.Mid_Name
WHEN null then ' '
WHEN ' ' then ' '
Else ' ' + p.Mid_Name + ' '
End
+ ltrim(p.First_Name)
FROM Client_Info c, Persons p
WHERE c.Client_no = '0004530184'
and c.person_id = p.Person_id
>--Original Message--
>I recently upgraded my database from 6.5 to 2000. To
take
>advantge of user defined functions I changed the
>compatibility level from 65 to 80. the following query
in
>my code now returns null if the middle name is null. Con
>someone explain wht this is happening and how I can fix?
>Thanks
>.
>
As Sue stated in her post, your query will be affected by the
CONCAT_NULL_YIELDS_NULL setting. To avoid that dependency, or write the
query better overall, you would use
select Client_Name = rtrim(p.Last_Name) +
isnull(p.Mid_Name,' ') + ltrim(p.First_Name)
FROM Client_Info c, Persons p
WHERE c.Client_no = '0004530184'
and c.person_id = p.Person_id
"Steve" <anonymous@.discussions.microsoft.com> wrote in message
news:173f01c499c1$0b721420$a401280a@.phx.gbl...[vbcol=seagreen]
> Sorry here is the query
> select Client_Name = rtrim(p.Last_Name) +
> Case p.Mid_Name
> WHEN null then ' '
> WHEN ' ' then ' '
> Else ' ' + p.Mid_Name + ' '
> End
> + ltrim(p.First_Name)
> FROM Client_Info c, Persons p
> WHERE c.Client_no = '0004530184'
> and c.person_id = p.Person_id
> take
> in
Labels:
case,
client_name,
compatibility,
database,
last_name,
level,
microsoft,
mid_namewhen,
mysql,
null,
oracle,
queryselect,
rtrim,
server,
sql
Sunday, February 12, 2012
Compatability between MSSQL server and MSDE??
Can we install both MSSQL and MSDE in the same server? And can they operate
at the same time? Just in case when the CAL is exceeded in the SQL server I
can use MSDE as alternative for other applications.
Yes, you can run them at the same time. Only one can be a default instance, the other(s) need to be
named instances.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"AdrianY" <AdrianY@.discussions.microsoft.com> wrote in message
news:8B83C9E8-0449-4ECA-85D2-7556D5121F5E@.microsoft.com...
> Can we install both MSSQL and MSDE in the same server? And can they operate
> at the same time? Just in case when the CAL is exceeded in the SQL server I
> can use MSDE as alternative for other applications.
at the same time? Just in case when the CAL is exceeded in the SQL server I
can use MSDE as alternative for other applications.
Yes, you can run them at the same time. Only one can be a default instance, the other(s) need to be
named instances.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"AdrianY" <AdrianY@.discussions.microsoft.com> wrote in message
news:8B83C9E8-0449-4ECA-85D2-7556D5121F5E@.microsoft.com...
> Can we install both MSSQL and MSDE in the same server? And can they operate
> at the same time? Just in case when the CAL is exceeded in the SQL server I
> can use MSDE as alternative for other applications.
Compatability between MSSQL server and MSDE??
Can we install both MSSQL and MSDE in the same server? And can they operate
at the same time? Just in case when the CAL is exceeded in the SQL server I
can use MSDE as alternative for other applications.Yes, you can run them at the same time. Only one can be a default instance, the other(s) need to be
named instances.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"AdrianY" <AdrianY@.discussions.microsoft.com> wrote in message
news:8B83C9E8-0449-4ECA-85D2-7556D5121F5E@.microsoft.com...
> Can we install both MSSQL and MSDE in the same server? And can they operate
> at the same time? Just in case when the CAL is exceeded in the SQL server I
> can use MSDE as alternative for other applications.
at the same time? Just in case when the CAL is exceeded in the SQL server I
can use MSDE as alternative for other applications.Yes, you can run them at the same time. Only one can be a default instance, the other(s) need to be
named instances.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"AdrianY" <AdrianY@.discussions.microsoft.com> wrote in message
news:8B83C9E8-0449-4ECA-85D2-7556D5121F5E@.microsoft.com...
> Can we install both MSSQL and MSDE in the same server? And can they operate
> at the same time? Just in case when the CAL is exceeded in the SQL server I
> can use MSDE as alternative for other applications.
Subscribe to:
Posts (Atom)