Showing posts with label express. Show all posts
Showing posts with label express. Show all posts

Sunday, March 25, 2012

Comparing One Table Field to another Table Field

I'm using SQL Server 2005 Express.

(Below are the three tables along with their fields)

1) tblEmailAddress Table
a) EmailAddress
b) Emailid (each EmailAddress has this corresponding Emailid)

2) tblEmailGroupLink Table
a) Emailid
b) Unsubscribed

3) Remove_List Table

a) EmailAddress


What I'd like to accomplish is...

A) To compare the EmailAddress field of all the records in the Remove_list Table to the EmailAddress field of all the records in the tblEmailAddress Table and if there is a match, get the Emailid field value.

B) Go to the tblEmailGroupLink Table and lookup the Emailid and change the value of the Unsubscribed field to 'True' for that record.

I'd appreciate any help I can get.

Thanks,

Bill


Hi, one sample would be:

UPDATE tblEmailGroupLink

SET UnSubscribed = 0x1
From tblEmailGroupLink L

INNER JOIN
(
Select E.EMailid
FROm tblEmailAddress E
INNER JOIN Remove_List R

ON E.EMailAddress = R.EMailAddress

) SubQUery
ON SubQUery.EMailid = L..EMailid

Jens K. Suessmeyer.

http://www.sqlserver2005.de
|||

Thank you for this Jens. Please keep in mind I'm very new at this, and am not sure of a few things.

Should I get into this database first, before I run a new Query? I did, but I want to be sure I'm doing this right, and when I run the Query this is what I got in a message.

Msg 207, Level 16, State 1, Line 11

Invalid column name ''.

Please let me know what you think... thanks Bill

|||You will have to be in the database where you want to change the values. The query had a typo:

ON SubQUery.EMailid = L.EMailid (only a single point after L)

Jens K. Suessmeyer.

http://www.sqlserver2005.de
|||

Thanks Jens, I'll give it a try.

Bill

|||

Jens,

Thanks, it works great.

Bill

Comparing One Table Field to another Table Field

I'm using SQL Server 2005 Express.

(Below are the three tables along with their fields)

1) tblEmailAddress Table
a) EmailAddress
b) Emailid (each EmailAddress has this corresponding Emailid)

2) tblEmailGroupLink Table
a) Emailid
b) Unsubscribed

3) Remove_List Table

a) EmailAddress


What I'd like to accomplish is...

A) To compare the EmailAddress field of all the records in the Remove_list Table to the EmailAddress field of all the records in the tblEmailAddress Table and if there is a match, get the Emailid field value.

B) Go to the tblEmailGroupLink Table and lookup the Emailid and change the value of the Unsubscribed field to 'True' for that record.

I'd appreciate any help I can get.

Thanks,

Bill


Hi, one sample would be:

UPDATE tblEmailGroupLink

SET UnSubscribed = 0x1
From tblEmailGroupLink L

INNER JOIN
(
Select E.EMailid
FROm tblEmailAddress E
INNER JOIN Remove_List R

ON E.EMailAddress = R.EMailAddress

) SubQUery
ON SubQUery.EMailid = L..EMailid

Jens K. Suessmeyer.

http://www.sqlserver2005.de
|||

Thank you for this Jens. Please keep in mind I'm very new at this, and am not sure of a few things.

Should I get into this database first, before I run a new Query? I did, but I want to be sure I'm doing this right, and when I run the Query this is what I got in a message.

Msg 207, Level 16, State 1, Line 11

Invalid column name ''.

Please let me know what you think... thanks Bill

|||You will have to be in the database where you want to change the values. The query had a typo:

ON SubQUery.EMailid = L.EMailid (only a single point after L)

Jens K. Suessmeyer.

http://www.sqlserver2005.de
|||

Thanks Jens, I'll give it a try.

Bill

|||

Jens,

Thanks, it works great.

Bill

sqlsql

Comparing msde with sql server 2005 express.

Hi, we have some applications running on a msde 2000. We are evaluating
to change it to sql express 2005. Do you know if this new version
support more concurrent conections than msde?
Thanks a lot for your help.
*** Sent via Developersdex http://www.codecomments.com ***
Express doesn't have the throttler (which added a wait for each I/O when you had more than 8
concurrently executing queries). So the answer is:
Most probably yes.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"MariaGuzman" <marisa@.devdex.com> wrote in message news:%23ZqFCqJDGHA.1180@.TK2MSFTNGP09.phx.gbl...
> Hi, we have some applications running on a msde 2000. We are evaluating
> to change it to sql express 2005. Do you know if this new version
> support more concurrent conections than msde?
> Thanks a lot for your help.
>
> *** Sent via Developersdex http://www.codecomments.com ***
|||MSDE had an internal governor that scaled back performance based on an
algorithm that involved several pieces. Most people believed there was a
limit to the number of users but that was not true, it just seemed that way.
SQLExpress does not have this governor and does not have any limits on the
number of users. But that said there are other aspects of Express that may
impact performance or the ability to support many connections. Hardware
plays a factor as well. See here for details on what Express supports and
what it does not.
http://www.microsoft.com/sql/edition...s/default.mspx
Andrew J. Kelly SQL MVP
"MariaGuzman" <marisa@.devdex.com> wrote in message
news:%23ZqFCqJDGHA.1180@.TK2MSFTNGP09.phx.gbl...
> Hi, we have some applications running on a msde 2000. We are evaluating
> to change it to sql express 2005. Do you know if this new version
> support more concurrent conections than msde?
> Thanks a lot for your help.
>
> *** Sent via Developersdex http://www.codecomments.com ***

Comparing msde with sql server 2005 express.

Hi, we have some applications running on a msde 2000. We are evaluating
to change it to sql express 2005. Do you know if this new version
support more concurrent conections than msde'
Thanks a lot for your help.
*** Sent via Developersdex http://www.developersdex.com ***Express doesn't have the throttler (which added a wait for each I/O when you had more than 8
concurrently executing queries). So the answer is:
Most probably yes.
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"MariaGuzman" <marisa@.devdex.com> wrote in message news:%23ZqFCqJDGHA.1180@.TK2MSFTNGP09.phx.gbl...
> Hi, we have some applications running on a msde 2000. We are evaluating
> to change it to sql express 2005. Do you know if this new version
> support more concurrent conections than msde'
> Thanks a lot for your help.
>
> *** Sent via Developersdex http://www.developersdex.com ***|||MSDE had an internal governor that scaled back performance based on an
algorithm that involved several pieces. Most people believed there was a
limit to the number of users but that was not true, it just seemed that way.
SQLExpress does not have this governor and does not have any limits on the
number of users. But that said there are other aspects of Express that may
impact performance or the ability to support many connections. Hardware
plays a factor as well. See here for details on what Express supports and
what it does not.
http://www.microsoft.com/sql/editions/express/default.mspx
--
Andrew J. Kelly SQL MVP
"MariaGuzman" <marisa@.devdex.com> wrote in message
news:%23ZqFCqJDGHA.1180@.TK2MSFTNGP09.phx.gbl...
> Hi, we have some applications running on a msde 2000. We are evaluating
> to change it to sql express 2005. Do you know if this new version
> support more concurrent conections than msde'
> Thanks a lot for your help.
>
> *** Sent via Developersdex http://www.developersdex.com ***

Comparing msde with sql server 2005 express.

Hi, we have some applications running on a msde 2000. We are evaluating
to change it to sql express 2005. Do you know if this new version
support more concurrent conections than msde'
Thanks a lot for your help.
*** Sent via Developersdex http://www.codecomments.com ***Express doesn't have the throttler (which added a wait for each I/O when you
had more than 8
concurrently executing queries). So the answer is:
Most probably yes.
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
Blog: http://solidqualitylearning.com/blogs/tibor/
"MariaGuzman" <marisa@.devdex.com> wrote in message news:%23ZqFCqJDGHA.1180@.TK2MSFTNGP09.phx.
gbl...
> Hi, we have some applications running on a msde 2000. We are evaluating
> to change it to sql express 2005. Do you know if this new version
> support more concurrent conections than msde'
> Thanks a lot for your help.
>
> *** Sent via Developersdex http://www.codecomments.com ***|||MSDE had an internal governor that scaled back performance based on an
algorithm that involved several pieces. Most people believed there was a
limit to the number of users but that was not true, it just seemed that way.
SQLExpress does not have this governor and does not have any limits on the
number of users. But that said there are other aspects of Express that may
impact performance or the ability to support many connections. Hardware
plays a factor as well. See here for details on what Express supports and
what it does not.
http://www.microsoft.com/sql/editio...ss/default.mspx
Andrew J. Kelly SQL MVP
"MariaGuzman" <marisa@.devdex.com> wrote in message
news:%23ZqFCqJDGHA.1180@.TK2MSFTNGP09.phx.gbl...
> Hi, we have some applications running on a msde 2000. We are evaluating
> to change it to sql express 2005. Do you know if this new version
> support more concurrent conections than msde'
> Thanks a lot for your help.
>
> *** Sent via Developersdex http://www.codecomments.com ***sqlsql

Saturday, February 25, 2012

compability of visual studio express vs visual studio

Can anyone tell me if Visual Studio Express and Visual Studio Report Designer
are compatible when designing reports? We tried to import .RDL files between
the two and were unsuccessful.
Our intent is to give our user something like Visual Studio Express to
develop reports , but yet be flexiable enough to maintain them or enhance
them using the full Visual Studio version. Or, take a report done in the full
version and allow he user to modify it in the Visual Studio Express version.
I highly doubt this is possible but I need some outside opinions on this.
Thanks for your time,
Dave SundellNone of this is necessary if you are using RS 2005. It comes with its own
version of VS. It will integrate with it if you have it, otherwise it will
install its own. If you are not writing your own assemblies then no need for
buying VS. This is a change from RS 2000.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in message
news:8A6273A3-DFB6-4F5A-B197-26F5755485C4@.microsoft.com...
> Can anyone tell me if Visual Studio Express and Visual Studio Report
> Designer
> are compatible when designing reports? We tried to import .RDL files
> between
> the two and were unsuccessful.
> Our intent is to give our user something like Visual Studio Express to
> develop reports , but yet be flexiable enough to maintain them or enhance
> them using the full Visual Studio version. Or, take a report done in the
> full
> version and allow he user to modify it in the Visual Studio Express
> version.
> I highly doubt this is possible but I need some outside opinions on this.
> Thanks for your time,
> Dave Sundell|||Are you talking about Report Builder in RS 2005?
I need users to beable to modify reports that were designed/developed using
Report Designer. And visa versa, beable to modify reports that were done with
Vistual Studio Express and edit them in full Visual Stduio.
I suppose we can buy them a full version of Visual Studio but some asked me
to look into Visual Studio Express. I am installing it now in a Virtual PC
mode as to not mess my normal Visual Studio environment.
Back to Report Builder. I am sorry but it is not the same as Report Designer
and we have had user experienced in Crystal reports and we need to give them
something a little closer, like Report Designer. But we were pointed towards
Visual Studio Express as a solution.
"Bruce L-C [MVP]" wrote:
> None of this is necessary if you are using RS 2005. It comes with its own
> version of VS. It will integrate with it if you have it, otherwise it will
> install its own. If you are not writing your own assemblies then no need for
> buying VS. This is a change from RS 2000.
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in message
> news:8A6273A3-DFB6-4F5A-B197-26F5755485C4@.microsoft.com...
> > Can anyone tell me if Visual Studio Express and Visual Studio Report
> > Designer
> > are compatible when designing reports? We tried to import .RDL files
> > between
> > the two and were unsuccessful.
> >
> > Our intent is to give our user something like Visual Studio Express to
> > develop reports , but yet be flexiable enough to maintain them or enhance
> > them using the full Visual Studio version. Or, take a report done in the
> > full
> > version and allow he user to modify it in the Visual Studio Express
> > version.
> >
> > I highly doubt this is possible but I need some outside opinions on this.
> >
> > Thanks for your time,
> >
> > Dave Sundell
>
>|||No, I am talking about Report Designer not Report Builder. RS 2005 when it
installed BI (or whatever it calls it, when you install Report Designer) it
will integrate with VS 2005 if you have it, otherwise it installs a special
version just for RS 2005 Report Designer.
This was not the case with RS 2000 report designer. For that you first had
to have VS 2003. Again, that is not the case for RS 2005 report designer.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in message
news:4252933C-EE43-4031-A81E-212B29174391@.microsoft.com...
> Are you talking about Report Builder in RS 2005?
> I need users to beable to modify reports that were designed/developed
> using
> Report Designer. And visa versa, beable to modify reports that were done
> with
> Vistual Studio Express and edit them in full Visual Stduio.
> I suppose we can buy them a full version of Visual Studio but some asked
> me
> to look into Visual Studio Express. I am installing it now in a Virtual PC
> mode as to not mess my normal Visual Studio environment.
> Back to Report Builder. I am sorry but it is not the same as Report
> Designer
> and we have had user experienced in Crystal reports and we need to give
> them
> something a little closer, like Report Designer. But we were pointed
> towards
> Visual Studio Express as a solution.
>
> "Bruce L-C [MVP]" wrote:
>> None of this is necessary if you are using RS 2005. It comes with its own
>> version of VS. It will integrate with it if you have it, otherwise it
>> will
>> install its own. If you are not writing your own assemblies then no need
>> for
>> buying VS. This is a change from RS 2000.
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>> "Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in message
>> news:8A6273A3-DFB6-4F5A-B197-26F5755485C4@.microsoft.com...
>> > Can anyone tell me if Visual Studio Express and Visual Studio Report
>> > Designer
>> > are compatible when designing reports? We tried to import .RDL files
>> > between
>> > the two and were unsuccessful.
>> >
>> > Our intent is to give our user something like Visual Studio Express to
>> > develop reports , but yet be flexiable enough to maintain them or
>> > enhance
>> > them using the full Visual Studio version. Or, take a report done in
>> > the
>> > full
>> > version and allow he user to modify it in the Visual Studio Express
>> > version.
>> >
>> > I highly doubt this is possible but I need some outside opinions on
>> > this.
>> >
>> > Thanks for your time,
>> >
>> > Dave Sundell
>>|||Ist it free to anyone or if do you need a license. Is it a download or can
we allow any person to install from a SQL Server 2005 cd?
By the way, thanks for your response/time.
dave
"Bruce L-C [MVP]" wrote:
> No, I am talking about Report Designer not Report Builder. RS 2005 when it
> installed BI (or whatever it calls it, when you install Report Designer) it
> will integrate with VS 2005 if you have it, otherwise it installs a special
> version just for RS 2005 Report Designer.
> This was not the case with RS 2000 report designer. For that you first had
> to have VS 2003. Again, that is not the case for RS 2005 report designer.
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in message
> news:4252933C-EE43-4031-A81E-212B29174391@.microsoft.com...
> > Are you talking about Report Builder in RS 2005?
> >
> > I need users to beable to modify reports that were designed/developed
> > using
> > Report Designer. And visa versa, beable to modify reports that were done
> > with
> > Vistual Studio Express and edit them in full Visual Stduio.
> >
> > I suppose we can buy them a full version of Visual Studio but some asked
> > me
> > to look into Visual Studio Express. I am installing it now in a Virtual PC
> > mode as to not mess my normal Visual Studio environment.
> >
> > Back to Report Builder. I am sorry but it is not the same as Report
> > Designer
> > and we have had user experienced in Crystal reports and we need to give
> > them
> > something a little closer, like Report Designer. But we were pointed
> > towards
> > Visual Studio Express as a solution.
> >
> >
> > "Bruce L-C [MVP]" wrote:
> >
> >> None of this is necessary if you are using RS 2005. It comes with its own
> >> version of VS. It will integrate with it if you have it, otherwise it
> >> will
> >> install its own. If you are not writing your own assemblies then no need
> >> for
> >> buying VS. This is a change from RS 2000.
> >>
> >>
> >> --
> >> Bruce Loehle-Conger
> >> MVP SQL Server Reporting Services
> >>
> >> "Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in message
> >> news:8A6273A3-DFB6-4F5A-B197-26F5755485C4@.microsoft.com...
> >> > Can anyone tell me if Visual Studio Express and Visual Studio Report
> >> > Designer
> >> > are compatible when designing reports? We tried to import .RDL files
> >> > between
> >> > the two and were unsuccessful.
> >> >
> >> > Our intent is to give our user something like Visual Studio Express to
> >> > develop reports , but yet be flexiable enough to maintain them or
> >> > enhance
> >> > them using the full Visual Studio version. Or, take a report done in
> >> > the
> >> > full
> >> > version and allow he user to modify it in the Visual Studio Express
> >> > version.
> >> >
> >> > I highly doubt this is possible but I need some outside opinions on
> >> > this.
> >> >
> >> > Thanks for your time,
> >> >
> >> > Dave Sundell
> >>
> >>
> >>
>
>|||It is free. RS 2005 is licensed by the server. There is no cost/licensing
for the report designer. Just use the SQL 2005 CD and install Report
Designer.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in message
news:D3462064-E935-48E1-8AE4-A57492F17FE7@.microsoft.com...
> Ist it free to anyone or if do you need a license. Is it a download or
> can
> we allow any person to install from a SQL Server 2005 cd?
> By the way, thanks for your response/time.
> dave
> "Bruce L-C [MVP]" wrote:
>> No, I am talking about Report Designer not Report Builder. RS 2005 when
>> it
>> installed BI (or whatever it calls it, when you install Report Designer)
>> it
>> will integrate with VS 2005 if you have it, otherwise it installs a
>> special
>> version just for RS 2005 Report Designer.
>> This was not the case with RS 2000 report designer. For that you first
>> had
>> to have VS 2003. Again, that is not the case for RS 2005 report designer.
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>> "Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in message
>> news:4252933C-EE43-4031-A81E-212B29174391@.microsoft.com...
>> > Are you talking about Report Builder in RS 2005?
>> >
>> > I need users to beable to modify reports that were designed/developed
>> > using
>> > Report Designer. And visa versa, beable to modify reports that were
>> > done
>> > with
>> > Vistual Studio Express and edit them in full Visual Stduio.
>> >
>> > I suppose we can buy them a full version of Visual Studio but some
>> > asked
>> > me
>> > to look into Visual Studio Express. I am installing it now in a Virtual
>> > PC
>> > mode as to not mess my normal Visual Studio environment.
>> >
>> > Back to Report Builder. I am sorry but it is not the same as Report
>> > Designer
>> > and we have had user experienced in Crystal reports and we need to give
>> > them
>> > something a little closer, like Report Designer. But we were pointed
>> > towards
>> > Visual Studio Express as a solution.
>> >
>> >
>> > "Bruce L-C [MVP]" wrote:
>> >
>> >> None of this is necessary if you are using RS 2005. It comes with its
>> >> own
>> >> version of VS. It will integrate with it if you have it, otherwise it
>> >> will
>> >> install its own. If you are not writing your own assemblies then no
>> >> need
>> >> for
>> >> buying VS. This is a change from RS 2000.
>> >>
>> >>
>> >> --
>> >> Bruce Loehle-Conger
>> >> MVP SQL Server Reporting Services
>> >>
>> >> "Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in
>> >> message
>> >> news:8A6273A3-DFB6-4F5A-B197-26F5755485C4@.microsoft.com...
>> >> > Can anyone tell me if Visual Studio Express and Visual Studio Report
>> >> > Designer
>> >> > are compatible when designing reports? We tried to import .RDL files
>> >> > between
>> >> > the two and were unsuccessful.
>> >> >
>> >> > Our intent is to give our user something like Visual Studio Express
>> >> > to
>> >> > develop reports , but yet be flexiable enough to maintain them or
>> >> > enhance
>> >> > them using the full Visual Studio version. Or, take a report done in
>> >> > the
>> >> > full
>> >> > version and allow he user to modify it in the Visual Studio Express
>> >> > version.
>> >> >
>> >> > I highly doubt this is possible but I need some outside opinions on
>> >> > this.
>> >> >
>> >> > Thanks for your time,
>> >> >
>> >> > Dave Sundell
>> >>
>> >>
>> >>
>>|||I discovered my problem. I forgot that I was sharing a report from Visual
Studio 2003 with Visual Studio Express and visa versa. Once I shared between
Visual Studio 2005 and Visual Studio Express then it worked fine. Dah.
I will look at Report Designer. Is that a simlar environment as Visual
Studio Express?
Dave
"Bruce L-C [MVP]" wrote:
> It is free. RS 2005 is licensed by the server. There is no cost/licensing
> for the report designer. Just use the SQL 2005 CD and install Report
> Designer.
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in message
> news:D3462064-E935-48E1-8AE4-A57492F17FE7@.microsoft.com...
> > Ist it free to anyone or if do you need a license. Is it a download or
> > can
> > we allow any person to install from a SQL Server 2005 cd?
> >
> > By the way, thanks for your response/time.
> >
> > dave
> >
> > "Bruce L-C [MVP]" wrote:
> >
> >> No, I am talking about Report Designer not Report Builder. RS 2005 when
> >> it
> >> installed BI (or whatever it calls it, when you install Report Designer)
> >> it
> >> will integrate with VS 2005 if you have it, otherwise it installs a
> >> special
> >> version just for RS 2005 Report Designer.
> >>
> >> This was not the case with RS 2000 report designer. For that you first
> >> had
> >> to have VS 2003. Again, that is not the case for RS 2005 report designer.
> >>
> >>
> >> --
> >> Bruce Loehle-Conger
> >> MVP SQL Server Reporting Services
> >>
> >> "Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in message
> >> news:4252933C-EE43-4031-A81E-212B29174391@.microsoft.com...
> >> > Are you talking about Report Builder in RS 2005?
> >> >
> >> > I need users to beable to modify reports that were designed/developed
> >> > using
> >> > Report Designer. And visa versa, beable to modify reports that were
> >> > done
> >> > with
> >> > Vistual Studio Express and edit them in full Visual Stduio.
> >> >
> >> > I suppose we can buy them a full version of Visual Studio but some
> >> > asked
> >> > me
> >> > to look into Visual Studio Express. I am installing it now in a Virtual
> >> > PC
> >> > mode as to not mess my normal Visual Studio environment.
> >> >
> >> > Back to Report Builder. I am sorry but it is not the same as Report
> >> > Designer
> >> > and we have had user experienced in Crystal reports and we need to give
> >> > them
> >> > something a little closer, like Report Designer. But we were pointed
> >> > towards
> >> > Visual Studio Express as a solution.
> >> >
> >> >
> >> > "Bruce L-C [MVP]" wrote:
> >> >
> >> >> None of this is necessary if you are using RS 2005. It comes with its
> >> >> own
> >> >> version of VS. It will integrate with it if you have it, otherwise it
> >> >> will
> >> >> install its own. If you are not writing your own assemblies then no
> >> >> need
> >> >> for
> >> >> buying VS. This is a change from RS 2000.
> >> >>
> >> >>
> >> >> --
> >> >> Bruce Loehle-Conger
> >> >> MVP SQL Server Reporting Services
> >> >>
> >> >> "Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in
> >> >> message
> >> >> news:8A6273A3-DFB6-4F5A-B197-26F5755485C4@.microsoft.com...
> >> >> > Can anyone tell me if Visual Studio Express and Visual Studio Report
> >> >> > Designer
> >> >> > are compatible when designing reports? We tried to import .RDL files
> >> >> > between
> >> >> > the two and were unsuccessful.
> >> >> >
> >> >> > Our intent is to give our user something like Visual Studio Express
> >> >> > to
> >> >> > develop reports , but yet be flexiable enough to maintain them or
> >> >> > enhance
> >> >> > them using the full Visual Studio version. Or, take a report done in
> >> >> > the
> >> >> > full
> >> >> > version and allow he user to modify it in the Visual Studio Express
> >> >> > version.
> >> >> >
> >> >> > I highly doubt this is possible but I need some outside opinions on
> >> >> > this.
> >> >> >
> >> >> > Thanks for your time,
> >> >> >
> >> >> > Dave Sundell
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>|||It is a version of VS just for hosting the Report Designer. Functionally no
difference. However, it only installs if you do not have VS 2005 installed.
If VS 2005 is there then it integrates with it. Also, I found out that if
you have installed Report Designer first and then VS 2005 that you will not
see Report Designer in it. If you want Report Designer integrated with VS
(for instance you have VB.Net 2005 installed) then install VB.Net 2005
first, then report designer.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in message
news:760A572F-7A63-45F5-87B1-21AD05436FF2@.microsoft.com...
>I discovered my problem. I forgot that I was sharing a report from Visual
> Studio 2003 with Visual Studio Express and visa versa. Once I shared
> between
> Visual Studio 2005 and Visual Studio Express then it worked fine. Dah.
> I will look at Report Designer. Is that a simlar environment as Visual
> Studio Express?
> Dave
> "Bruce L-C [MVP]" wrote:
>> It is free. RS 2005 is licensed by the server. There is no cost/licensing
>> for the report designer. Just use the SQL 2005 CD and install Report
>> Designer.
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>> "Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in message
>> news:D3462064-E935-48E1-8AE4-A57492F17FE7@.microsoft.com...
>> > Ist it free to anyone or if do you need a license. Is it a download or
>> > can
>> > we allow any person to install from a SQL Server 2005 cd?
>> >
>> > By the way, thanks for your response/time.
>> >
>> > dave
>> >
>> > "Bruce L-C [MVP]" wrote:
>> >
>> >> No, I am talking about Report Designer not Report Builder. RS 2005
>> >> when
>> >> it
>> >> installed BI (or whatever it calls it, when you install Report
>> >> Designer)
>> >> it
>> >> will integrate with VS 2005 if you have it, otherwise it installs a
>> >> special
>> >> version just for RS 2005 Report Designer.
>> >>
>> >> This was not the case with RS 2000 report designer. For that you first
>> >> had
>> >> to have VS 2003. Again, that is not the case for RS 2005 report
>> >> designer.
>> >>
>> >>
>> >> --
>> >> Bruce Loehle-Conger
>> >> MVP SQL Server Reporting Services
>> >>
>> >> "Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in
>> >> message
>> >> news:4252933C-EE43-4031-A81E-212B29174391@.microsoft.com...
>> >> > Are you talking about Report Builder in RS 2005?
>> >> >
>> >> > I need users to beable to modify reports that were
>> >> > designed/developed
>> >> > using
>> >> > Report Designer. And visa versa, beable to modify reports that were
>> >> > done
>> >> > with
>> >> > Vistual Studio Express and edit them in full Visual Stduio.
>> >> >
>> >> > I suppose we can buy them a full version of Visual Studio but some
>> >> > asked
>> >> > me
>> >> > to look into Visual Studio Express. I am installing it now in a
>> >> > Virtual
>> >> > PC
>> >> > mode as to not mess my normal Visual Studio environment.
>> >> >
>> >> > Back to Report Builder. I am sorry but it is not the same as Report
>> >> > Designer
>> >> > and we have had user experienced in Crystal reports and we need to
>> >> > give
>> >> > them
>> >> > something a little closer, like Report Designer. But we were pointed
>> >> > towards
>> >> > Visual Studio Express as a solution.
>> >> >
>> >> >
>> >> > "Bruce L-C [MVP]" wrote:
>> >> >
>> >> >> None of this is necessary if you are using RS 2005. It comes with
>> >> >> its
>> >> >> own
>> >> >> version of VS. It will integrate with it if you have it, otherwise
>> >> >> it
>> >> >> will
>> >> >> install its own. If you are not writing your own assemblies then no
>> >> >> need
>> >> >> for
>> >> >> buying VS. This is a change from RS 2000.
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Bruce Loehle-Conger
>> >> >> MVP SQL Server Reporting Services
>> >> >>
>> >> >> "Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in
>> >> >> message
>> >> >> news:8A6273A3-DFB6-4F5A-B197-26F5755485C4@.microsoft.com...
>> >> >> > Can anyone tell me if Visual Studio Express and Visual Studio
>> >> >> > Report
>> >> >> > Designer
>> >> >> > are compatible when designing reports? We tried to import .RDL
>> >> >> > files
>> >> >> > between
>> >> >> > the two and were unsuccessful.
>> >> >> >
>> >> >> > Our intent is to give our user something like Visual Studio
>> >> >> > Express
>> >> >> > to
>> >> >> > develop reports , but yet be flexiable enough to maintain them or
>> >> >> > enhance
>> >> >> > them using the full Visual Studio version. Or, take a report done
>> >> >> > in
>> >> >> > the
>> >> >> > full
>> >> >> > version and allow he user to modify it in the Visual Studio
>> >> >> > Express
>> >> >> > version.
>> >> >> >
>> >> >> > I highly doubt this is possible but I need some outside opinions
>> >> >> > on
>> >> >> > this.
>> >> >> >
>> >> >> > Thanks for your time,
>> >> >> >
>> >> >> > Dave Sundell
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>>|||Bruce,
Thank you for your time and response to this matter.
In conclusion, I did install Report Designer and it seems to be a better
route then installing SQL Express since the user really doesn't need SQL
installed but simply the environment to design a report.
Thanks again.
"Bruce L-C [MVP]" wrote:
> It is a version of VS just for hosting the Report Designer. Functionally no
> difference. However, it only installs if you do not have VS 2005 installed.
> If VS 2005 is there then it integrates with it. Also, I found out that if
> you have installed Report Designer first and then VS 2005 that you will not
> see Report Designer in it. If you want Report Designer integrated with VS
> (for instance you have VB.Net 2005 installed) then install VB.Net 2005
> first, then report designer.
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
> "Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in message
> news:760A572F-7A63-45F5-87B1-21AD05436FF2@.microsoft.com...
> >I discovered my problem. I forgot that I was sharing a report from Visual
> > Studio 2003 with Visual Studio Express and visa versa. Once I shared
> > between
> > Visual Studio 2005 and Visual Studio Express then it worked fine. Dah.
> >
> > I will look at Report Designer. Is that a simlar environment as Visual
> > Studio Express?
> >
> > Dave
> >
> > "Bruce L-C [MVP]" wrote:
> >
> >> It is free. RS 2005 is licensed by the server. There is no cost/licensing
> >> for the report designer. Just use the SQL 2005 CD and install Report
> >> Designer.
> >>
> >>
> >> --
> >> Bruce Loehle-Conger
> >> MVP SQL Server Reporting Services
> >>
> >> "Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in message
> >> news:D3462064-E935-48E1-8AE4-A57492F17FE7@.microsoft.com...
> >> > Ist it free to anyone or if do you need a license. Is it a download or
> >> > can
> >> > we allow any person to install from a SQL Server 2005 cd?
> >> >
> >> > By the way, thanks for your response/time.
> >> >
> >> > dave
> >> >
> >> > "Bruce L-C [MVP]" wrote:
> >> >
> >> >> No, I am talking about Report Designer not Report Builder. RS 2005
> >> >> when
> >> >> it
> >> >> installed BI (or whatever it calls it, when you install Report
> >> >> Designer)
> >> >> it
> >> >> will integrate with VS 2005 if you have it, otherwise it installs a
> >> >> special
> >> >> version just for RS 2005 Report Designer.
> >> >>
> >> >> This was not the case with RS 2000 report designer. For that you first
> >> >> had
> >> >> to have VS 2003. Again, that is not the case for RS 2005 report
> >> >> designer.
> >> >>
> >> >>
> >> >> --
> >> >> Bruce Loehle-Conger
> >> >> MVP SQL Server Reporting Services
> >> >>
> >> >> "Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in
> >> >> message
> >> >> news:4252933C-EE43-4031-A81E-212B29174391@.microsoft.com...
> >> >> > Are you talking about Report Builder in RS 2005?
> >> >> >
> >> >> > I need users to beable to modify reports that were
> >> >> > designed/developed
> >> >> > using
> >> >> > Report Designer. And visa versa, beable to modify reports that were
> >> >> > done
> >> >> > with
> >> >> > Vistual Studio Express and edit them in full Visual Stduio.
> >> >> >
> >> >> > I suppose we can buy them a full version of Visual Studio but some
> >> >> > asked
> >> >> > me
> >> >> > to look into Visual Studio Express. I am installing it now in a
> >> >> > Virtual
> >> >> > PC
> >> >> > mode as to not mess my normal Visual Studio environment.
> >> >> >
> >> >> > Back to Report Builder. I am sorry but it is not the same as Report
> >> >> > Designer
> >> >> > and we have had user experienced in Crystal reports and we need to
> >> >> > give
> >> >> > them
> >> >> > something a little closer, like Report Designer. But we were pointed
> >> >> > towards
> >> >> > Visual Studio Express as a solution.
> >> >> >
> >> >> >
> >> >> > "Bruce L-C [MVP]" wrote:
> >> >> >
> >> >> >> None of this is necessary if you are using RS 2005. It comes with
> >> >> >> its
> >> >> >> own
> >> >> >> version of VS. It will integrate with it if you have it, otherwise
> >> >> >> it
> >> >> >> will
> >> >> >> install its own. If you are not writing your own assemblies then no
> >> >> >> need
> >> >> >> for
> >> >> >> buying VS. This is a change from RS 2000.
> >> >> >>
> >> >> >>
> >> >> >> --
> >> >> >> Bruce Loehle-Conger
> >> >> >> MVP SQL Server Reporting Services
> >> >> >>
> >> >> >> "Dave Sundell" <DaveSundell@.discussions.microsoft.com> wrote in
> >> >> >> message
> >> >> >> news:8A6273A3-DFB6-4F5A-B197-26F5755485C4@.microsoft.com...
> >> >> >> > Can anyone tell me if Visual Studio Express and Visual Studio
> >> >> >> > Report
> >> >> >> > Designer
> >> >> >> > are compatible when designing reports? We tried to import .RDL
> >> >> >> > files
> >> >> >> > between
> >> >> >> > the two and were unsuccessful.
> >> >> >> >
> >> >> >> > Our intent is to give our user something like Visual Studio
> >> >> >> > Express
> >> >> >> > to
> >> >> >> > develop reports , but yet be flexiable enough to maintain them or
> >> >> >> > enhance
> >> >> >> > them using the full Visual Studio version. Or, take a report done
> >> >> >> > in
> >> >> >> > the
> >> >> >> > full
> >> >> >> > version and allow he user to modify it in the Visual Studio
> >> >> >> > Express
> >> >> >> > version.
> >> >> >> >
> >> >> >> > I highly doubt this is possible but I need some outside opinions
> >> >> >> > on
> >> >> >> > this.
> >> >> >> >
> >> >> >> > Thanks for your time,
> >> >> >> >
> >> >> >> > Dave Sundell
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>
>
>

COMP.DATABASES.MS-SQLSERVER - Outlook Express

Hi,
Can the comp.databases.ms-sqlserver newsgroup be added to Outlook Express?
If so what is the connection information?
Thanks
JerryHi
Yes. Use your ISP's news server to connect. Contact your ISP for that
information.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Jerry Spivey" <jspivey@.vestas-awt.com> wrote in message
news:%232mRV36vFHA.720@.TK2MSFTNGP15.phx.gbl...
> Hi,
> Can the comp.databases.ms-sqlserver newsgroup be added to Outlook Express?
> If so what is the connection information?
> Thanks
> Jerry
>|||Yes, but the comp. hierarchy isn't carried on the msnews server. You need to
subscribe to another NNTP service if you don't already have one.
http://www.newsreaders.com/newsfeeds/index.html
Alternatively, use a web-based newsreader such as: http://groups.google.com
--
David Portas
SQL Server MVP
--|||Thanks guys.
Jerry
"David Portas" <REMOVE_BEFORE_REPLYING_dportas@.acm.org> wrote in message
news:UK2dnWJd-84gka7eRVn-tA@.giganews.com...
> Yes, but the comp. hierarchy isn't carried on the msnews server. You need
> to subscribe to another NNTP service if you don't already have one.
> http://www.newsreaders.com/newsfeeds/index.html
> Alternatively, use a web-based newsreader such as:
> http://groups.google.com
> --
> David Portas
> SQL Server MVP
> --
>

COMP.DATABASES.MS-SQLSERVER - Outlook Express

Hi,
Can the comp.databases.ms-sqlserver newsgroup be added to Outlook Express?
If so what is the connection information?
Thanks
Jerry
Hi
Yes. Use your ISP's news server to connect. Contact your ISP for that
information.
Regards
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Jerry Spivey" <jspivey@.vestas-awt.com> wrote in message
news:%232mRV36vFHA.720@.TK2MSFTNGP15.phx.gbl...
> Hi,
> Can the comp.databases.ms-sqlserver newsgroup be added to Outlook Express?
> If so what is the connection information?
> Thanks
> Jerry
>
|||Yes, but the comp. hierarchy isn't carried on the msnews server. You need to
subscribe to another NNTP service if you don't already have one.
http://www.newsreaders.com/newsfeeds/index.html
Alternatively, use a web-based newsreader such as: http://groups.google.com
David Portas
SQL Server MVP
|||Thanks guys.
Jerry
"David Portas" <REMOVE_BEFORE_REPLYING_dportas@.acm.org> wrote in message
news:UK2dnWJd-84gka7eRVn-tA@.giganews.com...
> Yes, but the comp. hierarchy isn't carried on the msnews server. You need
> to subscribe to another NNTP service if you don't already have one.
> http://www.newsreaders.com/newsfeeds/index.html
> Alternatively, use a web-based newsreader such as:
> http://groups.google.com
> --
> David Portas
> SQL Server MVP
> --
>

COMP.DATABASES.MS-SQLSERVER - Outlook Express

Hi,
Can the comp.databases.ms-sqlserver newsgroup be added to Outlook Express?
If so what is the connection information?
Thanks
JerryHi
Yes. Use your ISP's news server to connect. Contact your ISP for that
information.
Regards
--
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland
IM: mike@.epprecht.net
MVP Program: http://www.microsoft.com/mvp
Blog: http://www.msmvps.com/epprecht/
"Jerry Spivey" <jspivey@.vestas-awt.com> wrote in message
news:%232mRV36vFHA.720@.TK2MSFTNGP15.phx.gbl...
> Hi,
> Can the comp.databases.ms-sqlserver newsgroup be added to Outlook Express?
> If so what is the connection information?
> Thanks
> Jerry
>|||Yes, but the comp. hierarchy isn't carried on the msnews server. You need to
subscribe to another NNTP service if you don't already have one.
http://www.newsreaders.com/newsfeeds/index.html
Alternatively, use a web-based newsreader such as: http://groups.google.com
David Portas
SQL Server MVP
--|||Thanks guys.
Jerry
"David Portas" <REMOVE_BEFORE_REPLYING_dportas@.acm.org> wrote in message
news:UK2dnWJd-84gka7eRVn-tA@.giganews.com...
> Yes, but the comp. hierarchy isn't carried on the msnews server. You need
> to subscribe to another NNTP service if you don't already have one.
> http://www.newsreaders.com/newsfeeds/index.html
> Alternatively, use a web-based newsreader such as:
> http://groups.google.com
> --
> David Portas
> SQL Server MVP
> --
>

Friday, February 24, 2012

Communicating with a SQL Server installed on a remote machine using a web service

I have SQL Server 2005 express installed on my machine, and I was wondering if there is any way to have an asp.net 2.0 web service hosted by a different company be able to send sql commands to the sql server on my machine.

Yes.

It would require that you make your computer somewhat vulnerable to the internet.

You will have to open a port in the firewall.

You will have to deal with Web Services security issues or all kinds of folks 'could' be sending commands to your SQL Server. And if your security isn't 'irontight', one of those commands could even be "FORMAT C:".

So my point is yes, it can be done, I want you to understand that there are a lot of steps necessary to 'do it right'.

|||Thank you for your help with this. I think for now I will hold off on this until I can find time to research the security issues much more thouroughly.

Sunday, February 19, 2012

Committing data to SQL from a Visual Basic Form

I have novice level visual basic knowledge using Visual Studio 2005 and have little knowledge of SQL using SQL express. I am attempting to create a SQL database which initially consists of a single table bound to a Visual Basic form for data entry. So far I have been able to bind a VB form to a SQL database creating a DataSet, DataAdapter, and utilizing the default binding navigator. I also seem to have functioning Stored Procedures.

The VB form is able to add data to the SQL table and I can toggle through the data while the VB app is running but when I terminate the app and load it again all newly added data is not available from the SQL table.

I have seen other strings on this subject and viewed many tutorials but they only bring me as far as I am. None of them address the concept of permanently committing data to SQL from the VB form. FYI…data entered manually into the SQL table is stored, just not data from the form.

Does anyone have any idea what is wrong?

Are you using the user instance feature in SQL Server express ? Then you will have to set the "Copy" property to "Never" for the in your solution included datafile.

Jens K. Suessmeyer.

http://www.sqlserver2005.de
|||

I am not clear on the instructions please clarify for the newbie.

Thanks.

|||If you are starting your program from inside visual basic the application is being rebuilt and the SQL database as created in visual basic is overwriting the database you created last time you ran your program. If you open your program from the bin\debug directory within your project folder, make changes to the data, exit the program, then go back into the program the same way, your database should have been updated with the changes.|||@.Bluebuddha: Did you find the setting ?

Jens K. Suessmeyer

http://www.sqlserver2005.de

Committing data to SQL from a Visual Basic Form

I have novice level visual basic knowledge using Visual Studio 2005 and have little knowledge of SQL using SQL express. I am attempting to create a SQL database which initially consists of a single table bound to a Visual Basic form for data entry. So far I have been able to bind a VB form to a SQL database creating a DataSet, DataAdapter, and utilizing the default binding navigator. I also seem to have functioning Stored Procedures.

The VB form is able to add data to the SQL table and I can toggle through the data while the VB app is running but when I terminate the app and load it again all newly added data is not available from the SQL table.

I have seen other strings on this subject and viewed many tutorials but they only bring me as far as I am. None of them address the concept of permanently committing data to SQL from the VB form. FYI…data entered manually into the SQL table is stored, just not data from the form.

Does anyone have any idea what is wrong?

Are you using the user instance feature in SQL Server express ? Then you will have to set the "Copy" property to "Never" for the in your solution included datafile.

Jens K. Suessmeyer.

http://www.sqlserver2005.de
|||

I am not clear on the instructions please clarify for the newbie.

Thanks.

|||If you are starting your program from inside visual basic the application is being rebuilt and the SQL database as created in visual basic is overwriting the database you created last time you ran your program. If you open your program from the bin\debug directory within your project folder, make changes to the data, exit the program, then go back into the program the same way, your database should have been updated with the changes.|||@.Bluebuddha: Did you find the setting ?

Jens K. Suessmeyer

http://www.sqlserver2005.de

Committing data to SQL from a Visual Basic Form

I have novice level visual basic knowledge using Visual Studio 2005 and have little knowledge of SQL using SQL express. I am attempting to create a SQL database which initially consists of a single table bound to a Visual Basic form for data entry. So far I have been able to bind a VB form to a SQL database creating a DataSet, DataAdapter, and utilizing the default binding navigator. I also seem to have functioning Stored Procedures.

The VB form is able to add data to the SQL table and I can toggle through the data while the VB app is running but when I terminate the app and load it again all newly added data is not available from the SQL table.

I have seen other strings on this subject and viewed many tutorials but they only bring me as far as I am. None of them address the concept of permanently committing data to SQL from the VB form. FYI…data entered manually into the SQL table is stored, just not data from the form.

Does anyone have any idea what is wrong?

Are you using the user instance feature in SQL Server express ? Then you will have to set the "Copy" property to "Never" for the in your solution included datafile.

Jens K. Suessmeyer.

http://www.sqlserver2005.de
|||

I am not clear on the instructions please clarify for the newbie.

Thanks.

|||If you are starting your program from inside visual basic the application is being rebuilt and the SQL database as created in visual basic is overwriting the database you created last time you ran your program. If you open your program from the bin\debug directory within your project folder, make changes to the data, exit the program, then go back into the program the same way, your database should have been updated with the changes.|||@.Bluebuddha: Did you find the setting ?

Jens K. Suessmeyer

http://www.sqlserver2005.de

Committing a Stored Procedure

hi there,

I am connecting to a sql server express 2005 database which is located on another developers machine in the company. he has given me the username and password and i can read and write to this db using vs2005 no problems.

i can also added new tables and everything through the management studio, but when i add stored procedures, it does not seem to commit to the database, when i click save it asks for a local destination but i want it to save onto the sql server.

i can add stored procedures through vs 2005 no problems! this does not make sense?

Hi,

yes it sure does. You don′t have to save the procs you have to execute the DDL rather than saving the code. That should work.

HTH, Jens Suessmeyer.

http://www.sqlserver2005.de

|||Can you please explain how to execute the DDL step by step, because I have pressed EXECUTE and it just runs the query and displays the results|||OK, due to he fact that I don′t have your code right here and you didn′t pasted it in your previous post I assume that you don′t have any DDL code right now.

DDL code (especially for procs) begin with

CREATE PROCEDURE (...)

If you don′t have such DDL code, you just have a query. What code are you executing ?|||

Hi Jens,

I sorted it out...I clicked Stored Procedures>New stored procedure and from the Query Menu>Specify values for template> and then fill that form out and then it commits it to the database NO PROBLEMS!

Commit and Rollback?

Hi,

I'm using an SQL Express database over a network, using a C# Express program. So I had to use pure SQL connections and commands instead of using Data Sources (couldn't find a way for it to work). In the program / DB I've got a couple of Master - Detail situations. Something like:

Product:

--

productID

(...)

Acessories:

-

acessID

(...)

ProductAcess:

--

productID

acessID

So when inserting a new Product, I'll have to first insert the product (with product name, price, and so on) and once I get the product ID from the insert command, I'll insert the ProductAcess rows. I've found a problem in this though. If for some reason the insert of the product is successful, but the insert of ProductAcess

fails, I've got a big mess in hands because I'll have a row in Product with no rows in ProductAcess (which shouldn't happen in my program scenario). I could solve this by deleting all rows from the DB which connected in someway to the product that failed to insert, but would be far better and correct if I used a commit command at the end of the insert commands to make sure only the right data would be inserted (saving time and resources). I use this all the time in Oracle databases, but don't know if it is possible in SQL Express... Is it? How? Thanks

hi,

you can use transactions in Ado.Net as well, similarly to the trivial code snippet like

SqlConnection con = new SqlConnection(""); SqlCommand cmd = new SqlCommand(); SqlTransaction tx = con.BeginTransaction; cmd.Connection = con; cmd.Transaction = tx; int Res = cmd.ExecuteNonQuery(); cmd.Dispose; cmd = null; if (Res == 0) tx.Rollback; else tx.Commit; tx.Dispose; tx = null; con.Dispose; con = null;

regards

Thursday, February 16, 2012

Commercial Application using MSDE or SQL Server 2005 Express

Hi,

I'm currently developing a commercial application in VS2005 that will catalogue hobbyist type data such as Music and Movies and I am considering using SQL Server 2005 Express for the client database.

My question is how popular is MSDE and/or SQL Server 2005 Express in commercial software products? I can't think of any application that I could buy off the shelf that uses the light-weight version of SQL Server whether that be MSDE or SQL Server 2005 Express.

I love what has been done with VS2005 and SQL2005 and I would love to roll this out but I would like to know that i'm not the only person that is going to implement SQL Server 2005 Express into a commercial product.

Other alternatives that I have looked at is VistaDB.NET, Microsoft Access of course and even looked at DB4O... these are all light-weight in comparision.

Geoff.Great question Geoff. Thousands of companies have signed the redistribution agreement allowing them to redistribute MSDE and/or SQL Server Express. MSDE is installed with many familiar applications, many times silently so users may not know they have it.

Ultimately SQL Server Express will replace MSDE, so building on SQL Server Express is the right thing to do.

The redistribution agreement is available at http://www.microsoft.com/sql/editions/express/redistregister.mspx.

Regards, MJ|||Hello, I am also using Sql express for a commercial application, so dont worry.|||Thanks Luis, This helps, Can you tell me which application it is?

Geoff.|||I know of one that uses MSDE (app was developed prior to SQL Express availability):
REA 9 Real Estate Contact Manager (www.gorea.com/about.html ). It is a client-server app intended to track contacts and properties in a commercial real estate venue.

Sunday, February 12, 2012

command line uninstall of sql express 2005

Another developer is writing the install/uninstall for our app and we're not
sure about the best way to uninstall the database component when the app is
uninstalled. Basically our app installs sql express 2005 ( + other .net stuff
) during install using the command line options and that works great. When it
comes to uninstall we have only one option at the moment - have the user go
to the control panel and manually uninstall the db. Is there an automated way
to remove the db from a machine or a way to issue a batchfile command w/
params? The user doesn't need to maintain this special db instance so want to
remove it automatically.
thanks,
Paul.
hi Paul,
paul wrote:
> Another developer is writing the install/uninstall for our app and
> we're not sure about the best way to uninstall the database component
> when the app is uninstalled. Basically our app installs sql express
> 2005 ( + other .net stuff ) during install using the command line
> options and that works great. When it comes to uninstall we have only
> one option at the moment - have the user go to the control panel and
> manually uninstall the db. Is there an automated way to remove the db
> from a machine or a way to issue a batchfile command w/ params? The
> user doesn't need to maintain this special db instance so want to
> remove it automatically.
> thanks,
> Paul.
http://msdn2.microsoft.com/en-us/lib...installscripts
Andrea Montanari (Microsoft MVP - SQL Server)
http://www.asql.bizhttp://italy.mvps.org
DbaMgr2k ver 0.20.0 - DbaMgr ver 0.64.0 and further SQL Tools
-- remove DMO to reply

Command line installation of SQL Server 2005 Express with Advanced Features

Hi,

I'm trying to install SQL Express 2005 with Reporting Services using Install Shield 11.5. The command line parameters which i am using is:

/qn ADDLOCAL=SQL_Engine,SQL_Data_Files,RS_Server,RS_Web_Interface,Client_Components SECURITYMODE=SQL SAPWD=<password> DISABLENETWORKPROTOCOLS=0 RSCONFIGURATION=Default RSSQLLOCAL=1 AUTOSTART=1

It installs the SQL Server and Reporting Services. It configures (creates Virtual Directories for report server and database) but it is not initializing the Report Server.

Having done the installation when i check the Report Server Status it was running and everything seems to be OK except it wasn't initialized.

Any idea?

Thanks,

Moby.

It's been a long time since I've played around with this, but I think it is the RSCONFIGURATION command.

Here's the snippet from template.ini. It looks like the default is FilesOnly, which does not configure RS. Can you try it with the Default value and let us know if it works?

;--
; RSCONFIGURATION specifies the Reporting Services installation option.

; The installation options can be either “FilesOnly” or “Default”.
; The “FilesOnly” option will only install the files without configuring the Reporting Services.
; The “Default” option will install the files and configure the Reporting Services.
; If you specify RSCONFIGURATION=Default, you must set RSSQLLOCAL=1
; NOTE: If no option is specified the default is “FilesOnly”.
; For example:
; RSCONFIGURATION=Default
; RSCONFIGURATION=FilesOnly

Thanks,
Sam Lester (MSFT)

|||Hi,

Well i am using the Default configuration option as if you look at the parameters in my previous post. As i said before it does all configuration except initializing the server.

But now i have figured it out. Thanks for your efforts. Having installed it with the parameters used in my previous message, you need to restart the PC. Once it is restarted the server will be initialized.

Thanks,
Mubashir

Command Line Install

I am trying to create an quiet install for SQL Server Express. The install is being run under a local administrators account. However, when a user, who is only in the local users group, accesses the application using ClickOnce deplolyment, it says SQL Server Express Edition is not installed.

-Dan

You may find these resources helpful:

SQL Server 2005 UnAttended Installations
http://msdn2.microsoft.com/en-us/library/ms144259.aspx
http://www.devx.com/dbzone/Article/31648