Showing posts with label standard. Show all posts
Showing posts with label standard. Show all posts

Sunday, March 25, 2012

Access controlon line level

Is it possible to implement control access on the line level usning standard
features?
I had to implement several tables User, groupe, article ..., map users to
groups and articles as well as some Sps in order that users or group of users
acces articles they are allowed to diplay.
I would highly appreciate any help
Thanks"SalamElias" <eliassal@.online.nospam> wrote in message
news:644C3FAF-8D72-4EF4-847F-82E96B13ADD8@.microsoft.com...
> Is it possible to implement control access on the line level usning
> standard
> features?
> I had to implement several tables User, groupe, article ..., map users to
> groups and articles as well as some Sps in order that users or group of
> users
> acces articles they are allowed to diplay.
> I would highly appreciate any help
> Thanks
>
Not sure what you mean by "line level". If you mean on a per-row level,
then yes it is.
Especially if you use stored procs.
I'd keep a table of users and values. Each row would have a corresponding
value.
Do all DML work through a stored proc. So if you want a user to view data,
the stored proc would look at their credentials and as part of the WHERE
clause would select only rows that meet that set of credentials (plus any
others required for that specific query.)
It's also possible to do this via views if you want.
Greg Moore
SQL Server DBA Consulting
sql (at) greenms.com http://www.greenms.com|||"SalamElias" <eliassal@.online.nospam> wrote in message
news:644C3FAF-8D72-4EF4-847F-82E96B13ADD8@.microsoft.com...
> Is it possible to implement control access on the line level usning
> standard
> features?
> I had to implement several tables User, groupe, article ..., map users to
> groups and articles as well as some Sps in order that users or group of
> users
> acces articles they are allowed to diplay.
> I would highly appreciate any help
> Thanks
>
I think your question is about row-level security. Use stored procedures and
views to limit the rows that individual users can access.
--
David Portas, SQL Server MVP
Whenever possible please post enough code to reproduce your problem.
Including CREATE TABLE and INSERT statements usually helps.
State what version of SQL Server you are using and specify the content
of any error messages.
SQL Server Books Online:
http://msdn2.microsoft.com/library/ms130214(en-US,SQL.90).aspx
--

Tuesday, March 20, 2012

Access 2003 Database Upgrade to SQL Server 2005

Is there a wizard or established procedure to upgrade an Access 2003 database to SQL Server 2005 (either standard or express)?

Hi.

I would use the import wizard (right-click a database, tools->Import data).
Also, the MS Access Upsizing wizard should work.

Happy sizing.|||Hi,

I am new to VB2005 and SQL Server 2005 Express, so please be patient. I want to upgrade one of my MS Access 2003 databases. I have the Express version of SQL server. Could you be more specific to explain how to convert it to SQL Server 2005 Express version please? Thank you.|||

Hi Athena,

There are a bunch of resources about migrating from Access to SQL Server that you should probably look over before you do this. A good page to start on is http://www.microsoft.com/sql/solutions/ssm/access/accessmigration.mspx. One of the questions you need to answer is why you want to move to SQL Server.

Specific information about using the Upsizing Wizard, which the tool I suggest you use is available in this paper: http://www.microsoft.com/technet/prodtechnol/sql/2000/Deploy/accessmigration.mspx as well as in the Access help. Even though the paper talks about SQL 2000, the Upsizing Wizard is the same and all the information in the paper still applies to SQL 2005.

One special consideration for SQL 2005 Express is that you will need to enable TCP/IP connection in order for Access to talk to SQL Server. This is off by default in Express Edition. You can configure this using the SQL Configuration Manager as documented at http://msdn2.microsoft.com/en-us/library/ms181035.aspx. At the same time you will likely also want to Start the SQL Browser as this will let you find the named instance of your server. (Assuming you did a default installation, your server is named <machinename>\SQLEXPRESS.)

It is best to do all this with Access and SQL Express installed on the same computer. If you are working between two different computers you have to consider if the computer with SQL Express installed on it is running a firewall, such as the Windows XP Firewall. The firewall will likely block communication between SQL Express and other computers, so you need to create an Exception for both SQL Server and the SQL Browser. You can find more information about how to do this in the SQL Express team blog at http://blogs.msdn.com/sqlexpress/archive/2005/05/05/415084.aspx.

Hope this helps,

Mike

sql

Access 2003 Database Upgrade to SQL Server 2005

Is there a wizard or established procedure to upgrade an Access 2003 database to SQL Server 2005 (either standard or express)?

Hi.

I would use the import wizard (right-click a database, tools->Import data).
Also, the MS Access Upsizing wizard should work.

Happy sizing.|||Hi,

I am new to VB2005 and SQL Server 2005 Express, so please be patient. I want to upgrade one of my MS Access 2003 databases. I have the Express version of SQL server. Could you be more specific to explain how to convert it to SQL Server 2005 Express version please? Thank you.
|||

Hi Athena,

There are a bunch of resources about migrating from Access to SQL Server that you should probably look over before you do this. A good page to start on is http://www.microsoft.com/sql/solutions/ssm/access/accessmigration.mspx. One of the questions you need to answer is why you want to move to SQL Server.

Specific information about using the Upsizing Wizard, which the tool I suggest you use is available in this paper: http://www.microsoft.com/technet/prodtechnol/sql/2000/Deploy/accessmigration.mspx as well as in the Access help. Even though the paper talks about SQL 2000, the Upsizing Wizard is the same and all the information in the paper still applies to SQL 2005.

One special consideration for SQL 2005 Express is that you will need to enable TCP/IP connection in order for Access to talk to SQL Server. This is off by default in Express Edition. You can configure this using the SQL Configuration Manager as documented at http://msdn2.microsoft.com/en-us/library/ms181035.aspx. At the same time you will likely also want to Start the SQL Browser as this will let you find the named instance of your server. (Assuming you did a default installation, your server is named <machinename>\SQLEXPRESS.)

It is best to do all this with Access and SQL Express installed on the same computer. If you are working between two different computers you have to consider if the computer with SQL Express installed on it is running a firewall, such as the Windows XP Firewall. The firewall will likely block communication between SQL Express and other computers, so you need to create an Exception for both SQL Server and the SQL Browser. You can find more information about how to do this in the SQL Express team blog at http://blogs.msdn.com/sqlexpress/archive/2005/05/05/415084.aspx.

Hope this helps,

Mike

Access 2000 to SQL Server 2000 Standard

Sorry for the crosspost!!
I need a way of replicating from an Access Database to an SQL Server via the
internet. It is Access 2000 to SQL Server 2000 Standard. I would like this
functionality to be fairly flexible (which is probably asking a lot) so it
could work with Access 2000 upwards, as I can see this being really useful
to several clients who have Access information. I have looked at the
replication manager but that appears to be discontinued and only available
in developer additions. You would think the information would be a little
easier to find. Can anyone point me to some websites, resources or books.
Regards, Chris.
Merge Replication with the Access Database as a Subscriber will allow you to
replicate from Access to SQL Server and vice versa.
Hilary Cotter
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html
"Chris Kennedy" <chrisknospam@.cybase.co.uk> wrote in message
news:eEjmSFSgEHA.1972@.TK2MSFTNGP09.phx.gbl...
> Sorry for the crosspost!!
> I need a way of replicating from an Access Database to an SQL Server via
the
> internet. It is Access 2000 to SQL Server 2000 Standard. I would like this
> functionality to be fairly flexible (which is probably asking a lot) so it
> could work with Access 2000 upwards, as I can see this being really useful
> to several clients who have Access information. I have looked at the
> replication manager but that appears to be discontinued and only available
> in developer additions. You would think the information would be a little
> easier to find. Can anyone point me to some websites, resources or books.
> Regards, Chris.
>
|||Chris,
to follow from Hilary's post, if you are not familiar with merge
replication, the best resource is BOL. If you want a web setup guide, have a
look at this site:
http://www.mssqlcity.com/Articles/Re...MR/SetupMR.htm
HTH,
Paul Ibison
|||I need to have a button on an access form which pushes the access data from
an external network to our local sql server. It has to be done via the
internet and there will be a firewall etc. The merge replication stuff in
BOL doesn't address the internet delivery in enought detail for a beginner
like me. I was looking at Office XP developer with replication manager and
doing it Access XP to Access XP on one of our web server and then link the
table to SQL server. Any thoughts? Does your book cover Access? Replication
covers many of the problems of clients want addressed in terms of linking
their local information to online systems but many clients will not upgrade
to SQL Server so I am looking at either Access XP developer or some kind of
custom .net component which sends the infomation via an XML Dataset and
merges it with a dataset on our web server. At least the .net solution
bypasses any firewall problems but it is reinventing the wheel to a big
extent.
"Hilary Cotter" <hilaryk@.att.net> wrote in message
news:%23C4hkETgEHA.2916@.TK2MSFTNGP12.phx.gbl...
> Merge Replication with the Access Database as a Subscriber will allow you
to[vbcol=seagreen]
> replicate from Access to SQL Server and vice versa.
> --
> Hilary Cotter
> Looking for a book on SQL Server replication?
> http://www.nwsu.com/0974973602.html
>
> "Chris Kennedy" <chrisknospam@.cybase.co.uk> wrote in message
> news:eEjmSFSgEHA.1972@.TK2MSFTNGP09.phx.gbl...
> the
this[vbcol=seagreen]
it[vbcol=seagreen]
useful[vbcol=seagreen]
available[vbcol=seagreen]
little[vbcol=seagreen]
books.
>
|||AFAIK you can't replicate to an access database over the internet. So my
book does not cover this I do discuss how to set up an access database as
a Subscriber though.
If you can convert your Access database to MSDE you could do this. You would
do this using the ActiveX controls. These controls have a
DistributorAddress/DistributorNetwork, PublisherAddress/PublisherNetwork
properties which will allow you to pull the Susbcription over the internet.
I also discuss this in the book.
Hilary Cotter
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html
"Chris Kennedy" <chrisknospam@.cybase.co.uk> wrote in message
news:eQ7CeuTgEHA.1196@.TK2MSFTNGP11.phx.gbl...
> I need to have a button on an access form which pushes the access data
from
> an external network to our local sql server. It has to be done via the
> internet and there will be a firewall etc. The merge replication stuff in
> BOL doesn't address the internet delivery in enought detail for a beginner
> like me. I was looking at Office XP developer with replication manager and
> doing it Access XP to Access XP on one of our web server and then link the
> table to SQL server. Any thoughts? Does your book cover Access?
Replication
> covers many of the problems of clients want addressed in terms of linking
> their local information to online systems but many clients will not
upgrade
> to SQL Server so I am looking at either Access XP developer or some kind
of[vbcol=seagreen]
> custom .net component which sends the infomation via an XML Dataset and
> merges it with a dataset on our web server. At least the .net solution
> bypasses any firewall problems but it is reinventing the wheel to a big
> extent.
> "Hilary Cotter" <hilaryk@.att.net> wrote in message
> news:%23C4hkETgEHA.2916@.TK2MSFTNGP12.phx.gbl...
you[vbcol=seagreen]
> to
via[vbcol=seagreen]
> this
so
> it
> useful
> available
> little
> books.
>
|||Excellent article but any pointers how to trigger Access sitting on an
external network to push information into sql server (I forgot to mention
there is a firewall but we may be able to specify an IP and port which my IT
manager should allow). The article gets me 3/4 of the way there but how do I
point SQL Server at an Access Database sitting on an external LAN via the
internet.
"Paul Ibison" <Paul.Ibison@.Pygmalion.Com> wrote in message
news:eSD5leTgEHA.644@.tk2msftngp13.phx.gbl...
> Chris,
> to follow from Hilary's post, if you are not familiar with merge
> replication, the best resource is BOL. If you want a web setup guide, have
a
> look at this site:
> http://www.mssqlcity.com/Articles/Re...MR/SetupMR.htm
> HTH,
> Paul Ibison
>
|||Presumably they could keep their Access database, install MDSE and just set
up Access as a linked database. That would cause minimal disruption and no
cost. How much is your book?
"Hilary Cotter" <hilaryk@.att.net> wrote in message
news:%23cHBixTgEHA.3348@.TK2MSFTNGP12.phx.gbl...
> AFAIK you can't replicate to an access database over the internet. So my
> book does not cover this I do discuss how to set up an access database
as
> a Subscriber though.
> If you can convert your Access database to MSDE you could do this. You
would
> do this using the ActiveX controls. These controls have a
> DistributorAddress/DistributorNetwork, PublisherAddress/PublisherNetwork
> properties which will allow you to pull the Susbcription over the
internet.[vbcol=seagreen]
> I also discuss this in the book.
>
> --
> Hilary Cotter
> Looking for a book on SQL Server replication?
> http://www.nwsu.com/0974973602.html
>
> "Chris Kennedy" <chrisknospam@.cybase.co.uk> wrote in message
> news:eQ7CeuTgEHA.1196@.TK2MSFTNGP11.phx.gbl...
> from
in[vbcol=seagreen]
beginner[vbcol=seagreen]
and[vbcol=seagreen]
the[vbcol=seagreen]
> Replication
linking[vbcol=seagreen]
> upgrade
> of
> you
> via
like
> so
>
|||Chris,
Not read the thread in detail, but if replicating Access XP/2000 to Access
XP/2000 is what you need then this does work over the internet using only a
standard IIS port. There's a Microsoft document 'Internet Synchronization
with the Microsoft Jet Database Engine: A Technical Overview', which is a
great help. I've had this working for about 2 years, and it does the job but
if you can you'll find SQL Server / MSDE replication more reliable and
easier to manage. You don't really need replication manager. I have some
code for our own 'replication scheduler' I'd be willing to share. Another
good site for information is www.trigeminal.com, where you can find another
'replication manager' program.
Tony.
"Chris Kennedy" <chrisknospam@.cybase.co.uk> wrote in message
news:eEjmSFSgEHA.1972@.TK2MSFTNGP09.phx.gbl...
> Sorry for the crosspost!!
> I need a way of replicating from an Access Database to an SQL Server via
the
> internet. It is Access 2000 to SQL Server 2000 Standard. I would like this
> functionality to be fairly flexible (which is probably asking a lot) so it
> could work with Access 2000 upwards, as I can see this being really useful
> to several clients who have Access information. I have looked at the
> replication manager but that appears to be discontinued and only available
> in developer additions. You would think the information would be a little
> easier to find. Can anyone point me to some websites, resources or books.
> Regards, Chris.
>
|||My understanding is that this allows you to replicate an Access Database to
another Access Database over the internet. but does not allow you to
replicate an Access Database to a SQL Server or vice versa over the
internet.
Hilary Cotter
Looking for a book on SQL Server replication?
http://www.nwsu.com/0974973602.html
"Tony Toker" <xxxx@.xxxx.com> wrote in message
news:cfj3gr$k2s$1$830fa17d@.news.demon.co.uk...
> Chris,
> Not read the thread in detail, but if replicating Access XP/2000 to Access
> XP/2000 is what you need then this does work over the internet using only
a
> standard IIS port. There's a Microsoft document 'Internet Synchronization
> with the Microsoft Jet Database Engine: A Technical Overview', which is a
> great help. I've had this working for about 2 years, and it does the job
but
> if you can you'll find SQL Server / MSDE replication more reliable and
> easier to manage. You don't really need replication manager. I have some
> code for our own 'replication scheduler' I'd be willing to share. Another
> good site for information is www.trigeminal.com, where you can find
another[vbcol=seagreen]
> 'replication manager' program.
> Tony.
>
> "Chris Kennedy" <chrisknospam@.cybase.co.uk> wrote in message
> news:eEjmSFSgEHA.1972@.TK2MSFTNGP09.phx.gbl...
> the
this[vbcol=seagreen]
it[vbcol=seagreen]
useful[vbcol=seagreen]
available[vbcol=seagreen]
little[vbcol=seagreen]
books.
>
|||This is my understanding too. But if your application suits you may be able
to use DTS or some custom code to import/export data between the replicated
Access and SQL server DB's. Worked for us, but SQL server / MSDE replication
is a much better solution.
Much more info on microsoft.public.access.replication.
Tony
"Hilary Cotter" <hilaryk@.att.net> wrote in message
news:uGkQluhgEHA.2984@.tk2msftngp13.phx.gbl...
> My understanding is that this allows you to replicate an Access Database
to[vbcol=seagreen]
> another Access Database over the internet. but does not allow you to
> replicate an Access Database to a SQL Server or vice versa over the
> internet.
> --
> Hilary Cotter
> Looking for a book on SQL Server replication?
> http://www.nwsu.com/0974973602.html
>
> "Tony Toker" <xxxx@.xxxx.com> wrote in message
> news:cfj3gr$k2s$1$830fa17d@.news.demon.co.uk...
Access[vbcol=seagreen]
only[vbcol=seagreen]
> a
Synchronization[vbcol=seagreen]
a[vbcol=seagreen]
> but
Another[vbcol=seagreen]
> another
via[vbcol=seagreen]
> this
so
> it
> useful
> available
> little
> books.
>

Monday, March 19, 2012

Access / SQL Server currency datatypes

When linking a SQL server 2000 table to Access 2003 using the standard MS
ODBC driver (2000.85.1117.00) fields with a datatype money and smallmoney
are blank in Access.
If I use a DataDirect ODBC driver the money fields are displayed correctly.
Any Idea if there is a MS ODBC driver that displays money correctly?
You might want to ask this question in one of the Access newsgroups
since it isn't an ODBC or a SQL Server issue. Someone there may have
the answer you seek.
--Mary
On Tue, 14 Mar 2006 06:02:26 -0600, "Simon
Lampert"<ureader@.byteaccess.com> wrote:

>When linking a SQL server 2000 table to Access 2003 using the standard MS
>ODBC driver (2000.85.1117.00) fields with a datatype money and smallmoney
>are blank in Access.
>If I use a DataDirect ODBC driver the money fields are displayed correctly.
>Any Idea if there is a MS ODBC driver that displays money correctly?

Access / SQL Server currency datatypes

When linking a SQL server 2000 table to Access 2003 using the standard MS
ODBC driver (2000.85.1117.00) fields with a datatype money and smallmoney
are blank in Access.
If I use a DataDirect ODBC driver the money fields are displayed correctly.
Any Idea if there is a MS ODBC driver that displays money correctly?You might want to ask this question in one of the Access newsgroups
since it isn't an ODBC or a SQL Server issue. Someone there may have
the answer you seek.
--Mary
On Tue, 14 Mar 2006 06:02:26 -0600, "Simon
Lampert"<ureader@.byteaccess.com> wrote:

>When linking a SQL server 2000 table to Access 2003 using the standard MS
>ODBC driver (2000.85.1117.00) fields with a datatype money and smallmoney
>are blank in Access.
>If I use a DataDirect ODBC driver the money fields are displayed correctly.
>Any Idea if there is a MS ODBC driver that displays money correctly?

Access / SQL Server 2000 Redistributable

Hello,
I want to upgrade my Access 2003 app to have a
VB 6.0 front-end and SQL Server 2000 Standard back-end, that I want
to sell on the market. I do not want to use MSDE
because of the 2GB limitation. My questions are:
1) will my customers have to purchase SQL Server 2000?
(or me, and then give them the copy w/ my app).
2) what is the best way to wrap this up in an install
package? I already have InstallShield Express 4.0
and SageKey's Access 2003 MSI Wizard; am investigating
if these will let me include SQL Server. . . any ideas
on how to mass-sell something w/ SQL Server back-end?
Thanks,
Christy Warner.
Christy Warner
www.autoaudit.com
1) Yes, they will have to purchase a copy of SQL Server standard edition.
2) Most people use a DSN, and then have an install script. This install
script can either create the database and schema, and populate it with data,
or they attach a database withe the schema and data in place.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"ChristyWarner" <cwarner@.autoaudit.com> wrote in message
news:79169CF3-5804-47D1-B91B-59791AB1037C@.microsoft.com...
> Hello,
> I want to upgrade my Access 2003 app to have a
> VB 6.0 front-end and SQL Server 2000 Standard back-end, that I want
> to sell on the market. I do not want to use MSDE
> because of the 2GB limitation. My questions are:
> 1) will my customers have to purchase SQL Server 2000?
> (or me, and then give them the copy w/ my app).
> 2) what is the best way to wrap this up in an install
> package? I already have InstallShield Express 4.0
> and SageKey's Access 2003 MSI Wizard; am investigating
> if these will let me include SQL Server. . . any ideas
> on how to mass-sell something w/ SQL Server back-end?
> Thanks,
> Christy Warner.
> --
> Christy Warner
> www.autoaudit.com
>
|||What's wrong with MSDERelA? It's free!
Cons: No Enterprise Manager (but who needs it?)
HTH. Aubrey
"Hilary Cotter" wrote:

> 1) Yes, they will have to purchase a copy of SQL Server standard edition.
> 2) Most people use a DSN, and then have an install script. This install
> script can either create the database and schema, and populate it with data,
> or they attach a database withe the schema and data in place.
> --
> Hilary Cotter
> Looking for a SQL Server replication book?
> http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTS
> http://www.indexserverfaq.com
> "ChristyWarner" <cwarner@.autoaudit.com> wrote in message
> news:79169CF3-5804-47D1-B91B-59791AB1037C@.microsoft.com...
>
>

Thursday, February 16, 2012

About Microsoft SQL Server 2005

Hi,

I have a requirement of SQL server 2005 but I am confused about the different edition like Workgroup Edition, Standard Edition, Enterprise Edition. What is the feature base difference in these editions. Can any one help me on this issue it's urgent.

I am running a database server in SQL Server 2000 websites (ASP.net application is also running there) and the database access will be high as there are number of websites accessing data from it.

Thanks in advance.
Ankur

Hello

You can read information about all avalible edition of SQL Server 2005 @. http://www.microsoft.com/sql/editions/default.mspx, You can also get the Express edition which is free and is a next verson of MSDE.

In my openion the STANDERD EDITION OF SQL SERVER is more enough for you as you have mentioned your possible usage.

Thank You,

|||

Hi,

here is a feature matrix: http://www.microsoft.com/sql/prodinfo/features/compare-features.mspx

--
SvenC

|||Thanks for your Opinion, this is a great help.

Ankur
|||This is simply great, thanks a Lot.

Ankur