Showing posts with label system. Show all posts
Showing posts with label system. Show all posts

Friday, March 30, 2012

Puzzled by installation error.

I have tried installed several times the SQL Server 2005 Express (Standard or Advanced Services) on my XP SP2 system and all failed.

The error messages are all about the Secure Socket Layer certificate and provider, either cannot find, create valid SSL certificate or the authentication provider is not trust (actually I don't know any of this and where to find them). I am learning at home the SQL Server and not going to do a website. Why I need a SSL? Or if it is really necessary, how do I obtained one?

I installed IIS (supposedly 5.0 since I have XP SP2), is this related? How to install without IIS?

Or do I need a Server OS?

Turn of the SSL on the default website (where Reporting Service will be installed) and you should be able to install the whole thing easily. Afterwards you can turn on SSL again on the default website.

HTH, Jens K. Suessmeyer.


http://www.sqlserver2005.de

|||

How to turn off SSL? In SQL Express setup or IIS setting in MMC?

My IIS setting has a default SSL port 440 but I cannot change it.

Puzzled by installation error.

I have tried installed several times the SQL Server 2005 Express (Standard or Advanced Services) on my XP SP2 system and all failed.

The error messages are all about the Secure Socket Layer certificate and provider, either cannot find, create valid SSL certificate or the authentication provider is not trust (actually I don't know any of this and where to find them). I am learning at home the SQL Server and not going to do a website. Why I need a SSL? Or if it is really necessary, how do I obtained one?

I installed IIS (supposedly 5.0 since I have XP SP2), is this related? How to install without IIS?

Or do I need a Server OS?

Turn of the SSL on the default website (where Reporting Service will be installed) and you should be able to install the whole thing easily. Afterwards you can turn on SSL again on the default website.

HTH, Jens K. Suessmeyer.


http://www.sqlserver2005.de

|||

How to turn off SSL? In SQL Express setup or IIS setting in MMC?

My IIS setting has a default SSL port 440 but I cannot change it.

Putting System Variables in a Send Mail Task

KB Article 906547 suggest that it's possible to have system variables in the Subject & Body of a Send Email Task. Such as this:

"Package>>> " + @.[System::PackageName] +" was executed at>>> " + (DT_WSTR, 40) @.[System::StartTime] + " by user>>> " + @.[System::UserName] + " on Machine>>> " + @.[System::MachineName]

Or this in an OnError event handler:

"Error in the task: " + @.[System::SourceName] + "with the ID: " + @.[System::SourceID] + " has failed at: " + (DT_WSTR, 20) @.[System::ContainerStartTime] + "."

But when I do this I just get this exact text, no variables.

I'm obviously missing something basic but I can't find it. Can anyone offer a suggestion please?

I believe you are entering ""Package>>> " + @.[System::PackageName] +" was executed at>>> " + (DT_WSTR, 40) @.[System::StartTime] + " by user>>> " + @.[System::UserName] + " on Machine>>> " + @.[System::MachineName]" text directly in the 'Subject' field.

Since this is an expression you cannot enter in the Subject field directly instead you need to specify it as an expression.

Clear the Subject field - Select Expressions - Expand Expressions - Select 'Subject' for the property drop down - Specify "Package>>> " + @.[System::PackageName] +" was executed at>>> " + (DT_WSTR, 40) @.[System::StartTime] + " by user>>> " + @.[System::UserName] + " on Machine>>> " + @.[System::MachineName] in the Property field.

Thanks,
Loonysan

|||

Yes, that was it. Sorry I should have seen that I needed to put the items as an expression.

Thank You for your help.

Wednesday, March 21, 2012

Purge a Transaction Log?

Hi Guys,
I have MS SQL Server 2000 which, among others, has a database on it used for
McAffee protection pilot (A policy driven AV managment system). Over the las
t
month or so the Tlog ldf has exploded in size to over 10GB (the mdf is only
25MB). How can I purge this log with minimal disruption to the database.
I tried shrinking the database and restoring from a backup but this seems to
have had no effect on the ldf file. I sopke to someone who sugested exportin
g
the data, objects and procedures etc. but during a test run this came back
with errors and also it seems quite long winded.
I don't have that much background in SQLserver but I know in Exchange - the
backup API will purge the tlogs once a backup has been successful - can
something similar be configured?. I noticed the maximum log file size
settings - which I will set once I have purged the ldf file.
Any ideas?
Thanks,
Niall.Hi
Check out
http://msdn.microsoft.com/library/d...r />
_1uzr.asp
John
"Niall" wrote:

> Hi Guys,
> I have MS SQL Server 2000 which, among others, has a database on it used f
or
> McAffee protection pilot (A policy driven AV managment system). Over the l
ast
> month or so the Tlog ldf has exploded in size to over 10GB (the mdf is onl
y
> 25MB). How can I purge this log with minimal disruption to the database.
> I tried shrinking the database and restoring from a backup but this seems
to
> have had no effect on the ldf file. I sopke to someone who sugested export
ing
> the data, objects and procedures etc. but during a test run this came back
> with errors and also it seems quite long winded.
> I don't have that much background in SQLserver but I know in Exchange - th
e
> backup API will purge the tlogs once a backup has been successful - can
> something similar be configured?. I noticed the maximum log file size
> settings - which I will set once I have purged the ldf file.
> Any ideas?
> Thanks,
> Niall.sql

Purge a Transaction Log?

Hi Guys,
I have MS SQL Server 2000 which, among others, has a database on it used for
McAffee protection pilot (A policy driven AV managment system). Over the last
month or so the Tlog ldf has exploded in size to over 10GB (the mdf is only
25MB). How can I purge this log with minimal disruption to the database.
I tried shrinking the database and restoring from a backup but this seems to
have had no effect on the ldf file. I sopke to someone who sugested exporting
the data, objects and procedures etc. but during a test run this came back
with errors and also it seems quite long winded.
I don't have that much background in SQLserver but I know in Exchange - the
backup API will purge the tlogs once a backup has been successful - can
something similar be configured?. I noticed the maximum log file size
settings - which I will set once I have purged the ldf file.
Any ideas?
Thanks,
Niall.Hi
Check out
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/architec/8_ar_da2_1uzr.asp
John
"Niall" wrote:
> Hi Guys,
> I have MS SQL Server 2000 which, among others, has a database on it used for
> McAffee protection pilot (A policy driven AV managment system). Over the last
> month or so the Tlog ldf has exploded in size to over 10GB (the mdf is only
> 25MB). How can I purge this log with minimal disruption to the database.
> I tried shrinking the database and restoring from a backup but this seems to
> have had no effect on the ldf file. I sopke to someone who sugested exporting
> the data, objects and procedures etc. but during a test run this came back
> with errors and also it seems quite long winded.
> I don't have that much background in SQLserver but I know in Exchange - the
> backup API will purge the tlogs once a backup has been successful - can
> something similar be configured?. I noticed the maximum log file size
> settings - which I will set once I have purged the ldf file.
> Any ideas?
> Thanks,
> Niall.

Purge a Transaction Log?

Hi Guys,
I have MS SQL Server 2000 which, among others, has a database on it used for
McAffee protection pilot (A policy driven AV managment system). Over the last
month or so the Tlog ldf has exploded in size to over 10GB (the mdf is only
25MB). How can I purge this log with minimal disruption to the database.
I tried shrinking the database and restoring from a backup but this seems to
have had no effect on the ldf file. I sopke to someone who sugested exporting
the data, objects and procedures etc. but during a test run this came back
with errors and also it seems quite long winded.
I don't have that much background in SQLserver but I know in Exchange - the
backup API will purge the tlogs once a backup has been successful - can
something similar be configured?. I noticed the maximum log file size
settings - which I will set once I have purged the ldf file.
Any ideas?
Thanks,
Niall.
Hi
Check out
http://msdn.microsoft.com/library/de...r_da2_1uzr.asp
John
"Niall" wrote:

> Hi Guys,
> I have MS SQL Server 2000 which, among others, has a database on it used for
> McAffee protection pilot (A policy driven AV managment system). Over the last
> month or so the Tlog ldf has exploded in size to over 10GB (the mdf is only
> 25MB). How can I purge this log with minimal disruption to the database.
> I tried shrinking the database and restoring from a backup but this seems to
> have had no effect on the ldf file. I sopke to someone who sugested exporting
> the data, objects and procedures etc. but during a test run this came back
> with errors and also it seems quite long winded.
> I don't have that much background in SQLserver but I know in Exchange - the
> backup API will purge the tlogs once a backup has been successful - can
> something similar be configured?. I noticed the maximum log file size
> settings - which I will set once I have purged the ldf file.
> Any ideas?
> Thanks,
> Niall.

purchasing a SQL server 2000 system table poster

I have seen a few sites on the web that was selling the SQL server 2000
system table poster. There are simular posters for Oracle 8i, 9i and 10G
(which show the layout and columns of the system table spaces, such as
dba_user, user_tables, all_tables, user_constraints, dba_constraints, etc.).
I though that i had found a place to puchase the poster for SQL server 2000
(via SQL server magazine), but their e-store was down today and I could not
find any refernce to the poster on their web site.
Can anyone think of any places that I can purcahse such a poster. I have
heard that the SQL server 2000 poster is included when you purchase SQL
server 2000 (not sure what version it is included with, either standard or
enterprise), but I would like to get my hands on the poster as I need to see
some of the tables for the project that I am working on (for reference
purposes). I have not personally purchased SQL server 2000 myself as of yet
,
hope to do so later this year).
Edward Letendre.Don't know about buying a copy - I just asked my local Microsoft TAM and
he grabbed a copy for me from Terry Clancy (the SQL Server Product
Manager for MS Australia). But you can freely download the compiled
HTML help file from microsoft.com:
http://www.microsoft.com/sql/techin...0/systables.asp
HTH.
*mike hodgson* |/ database administrator/ | mallesons stephen jaques
*T* +61 (2) 9296 3668 |* F* +61 (2) 9296 3885 |* M* +61 (408) 675 907
*E* mailto:mike.hodgson@.mallesons.nospam.com |* W* http://www.mallesons.com
Edward Letendre wrote:

>I have seen a few sites on the web that was selling the SQL server 2000
>system table poster. There are simular posters for Oracle 8i, 9i and 10G
>(which show the layout and columns of the system table spaces, such as
>dba_user, user_tables, all_tables, user_constraints, dba_constraints, etc.)
.
>I though that i had found a place to puchase the poster for SQL server 2000
>(via SQL server magazine), but their e-store was down today and I could not
>find any refernce to the poster on their web site.
>Can anyone think of any places that I can purcahse such a poster. I have
>heard that the SQL server 2000 poster is included when you purchase SQL
>server 2000 (not sure what version it is included with, either standard or
>enterprise), but I would like to get my hands on the poster as I need to se
e
>some of the tables for the project that I am working on (for reference
>purposes). I have not personally purchased SQL server 2000 myself as of ye
t,
>hope to do so later this year).
>Edward Letendre.
>
>

purchasing a SQL server 2000 system table poster

I have seen a few sites on the web that was selling the SQL server 2000
system table poster. There are simular posters for Oracle 8i, 9i and 10G
(which show the layout and columns of the system table spaces, such as
dba_user, user_tables, all_tables, user_constraints, dba_constraints, etc.).
I though that i had found a place to puchase the poster for SQL server 2000
(via SQL server magazine), but their e-store was down today and I could not
find any refernce to the poster on their web site.
Can anyone think of any places that I can purcahse such a poster. I have
heard that the SQL server 2000 poster is included when you purchase SQL
server 2000 (not sure what version it is included with, either standard or
enterprise), but I would like to get my hands on the poster as I need to see
some of the tables for the project that I am working on (for reference
purposes). I have not personally purchased SQL server 2000 myself as of yet,
hope to do so later this year).
Edward Letendre.This is a multi-part message in MIME format.
--060404070409070500020105
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Don't know about buying a copy - I just asked my local Microsoft TAM and
he grabbed a copy for me from Terry Clancy (the SQL Server Product
Manager for MS Australia). But you can freely download the compiled
HTML help file from microsoft.com:
http://www.microsoft.com/sql/techinfo/productdoc/2000/systables.asp
HTH.
--
*mike hodgson* |/ database administrator/ | mallesons stephen jaques
*T* +61 (2) 9296 3668 |* F* +61 (2) 9296 3885 |* M* +61 (408) 675 907
*E* mailto:mike.hodgson@.mallesons.nospam.com |* W* http://www.mallesons.com
Edward Letendre wrote:
>I have seen a few sites on the web that was selling the SQL server 2000
>system table poster. There are simular posters for Oracle 8i, 9i and 10G
>(which show the layout and columns of the system table spaces, such as
>dba_user, user_tables, all_tables, user_constraints, dba_constraints, etc.).
>I though that i had found a place to puchase the poster for SQL server 2000
>(via SQL server magazine), but their e-store was down today and I could not
>find any refernce to the poster on their web site.
>Can anyone think of any places that I can purcahse such a poster. I have
>heard that the SQL server 2000 poster is included when you purchase SQL
>server 2000 (not sure what version it is included with, either standard or
>enterprise), but I would like to get my hands on the poster as I need to see
>some of the tables for the project that I am working on (for reference
>purposes). I have not personally purchased SQL server 2000 myself as of yet,
>hope to do so later this year).
>Edward Letendre.
>
>
--060404070409070500020105
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Don't know about buying a copy - I just asked my local Microsoft
TAM and he grabbed a copy for me from Terry Clancy (the SQL Server
Product Manager for MS Australia). But you can freely download the
compiled HTML help file from microsoft.com:<br>
<br>
<a class="moz-txt-link-freetext" href="http://links.10026.com/?link=http://www.microsoft.com/sql/techinfo/productdoc/2000/systables.asp</a><br>">http://www.microsoft.com/sql/techinfo/productdoc/2000/systables.asp">http://www.microsoft.com/sql/techinfo/productdoc/2000/systables.asp</a><br>
<br>
HTH.<br>
</tt>
<div class="moz-signature">
<title></title>
<meta http-equiv="Content-Type" content="text/html; ">
<p><span lang="en-au"><font face="Tahoma" size="2">--<br>
</font> </span><b><span lang="en-au"><font face="Tahoma" size="2">mike
hodgson</font></span></b><span lang="en-au"> <font face="Tahoma"
size="2">|</font><i><font face="Tahoma"> </font><font face="Tahoma"
size="2"> database administrator</font></i><font face="Tahoma" size="2">
| mallesons</font><font face="Tahoma"> </font><font face="Tahoma"
size="2">stephen</font><font face="Tahoma"> </font><font face="Tahoma"
size="2"> jaques</font><font face="Tahoma"><br>
</font><b><font face="Tahoma" size="2">T</font></b><font face="Tahoma"
size="2"> +61 (2) 9296 3668 |</font><b><font face="Tahoma"> </font><font
face="Tahoma" size="2"> F</font></b><font face="Tahoma" size="2"> +61
(2) 9296 3885 |</font><b><font face="Tahoma"> </font><font
face="Tahoma" size="2">M</font></b><font face="Tahoma" size="2"> +61
(408) 675 907</font><br>
<b><font face="Tahoma" size="2">E</font></b><font face="Tahoma" size="2">
<a href="http://links.10026.com/?link=mailto:mike.hodgson@.mallesons.nospam.com">
mailto:mike.hodgson@.mallesons.nospam.com</a> |</font><b><font
face="Tahoma"> </font><font face="Tahoma" size="2">W</font></b><font
face="Tahoma" size="2"> <a href="http://links.10026.com/?link=/">http://www.mallesons.com">
http://www.mallesons.com</a></font></span> </p>
</div>
<br>
<br>
Edward Letendre wrote:
<blockquote cite="midFB9430F8-811B-46FD-B6D1-742BA999FDE4@.microsoft.com"
type="cite">
<pre wrap="">I have seen a few sites on the web that was selling the SQL server 2000
system table poster. There are simular posters for Oracle 8i, 9i and 10G
(which show the layout and columns of the system table spaces, such as
dba_user, user_tables, all_tables, user_constraints, dba_constraints, etc.).
I though that i had found a place to puchase the poster for SQL server 2000
(via SQL server magazine), but their e-store was down today and I could not
find any refernce to the poster on their web site.
Can anyone think of any places that I can purcahse such a poster. I have
heard that the SQL server 2000 poster is included when you purchase SQL
server 2000 (not sure what version it is included with, either standard or
enterprise), but I would like to get my hands on the poster as I need to see
some of the tables for the project that I am working on (for reference
purposes). I have not personally purchased SQL server 2000 myself as of yet,
hope to do so later this year).
Edward Letendre.
</pre>
</blockquote>
</body>
</html>
--060404070409070500020105--sql

purchasing a SQL server 2000 system table poster

I have seen a few sites on the web that was selling the SQL server 2000
system table poster. There are simular posters for Oracle 8i, 9i and 10G
(which show the layout and columns of the system table spaces, such as
dba_user, user_tables, all_tables, user_constraints, dba_constraints, etc.).
I though that i had found a place to puchase the poster for SQL server 2000
(via SQL server magazine), but their e-store was down today and I could not
find any refernce to the poster on their web site.
Can anyone think of any places that I can purcahse such a poster. I have
heard that the SQL server 2000 poster is included when you purchase SQL
server 2000 (not sure what version it is included with, either standard or
enterprise), but I would like to get my hands on the poster as I need to see
some of the tables for the project that I am working on (for reference
purposes). I have not personally purchased SQL server 2000 myself as of yet,
hope to do so later this year).
Edward Letendre.
Don't know about buying a copy - I just asked my local Microsoft TAM and
he grabbed a copy for me from Terry Clancy (the SQL Server Product
Manager for MS Australia). But you can freely download the compiled
HTML help file from microsoft.com:
http://www.microsoft.com/sql/techinf.../systables.asp
HTH.
*mike hodgson* |/ database administrator/ | mallesons stephen jaques
*T* +61 (2) 9296 3668 |* F* +61 (2) 9296 3885 |* M* +61 (408) 675 907
*E* mailto:mike.hodgson@.mallesons.nospam.com |* W* http://www.mallesons.com
Edward Letendre wrote:

>I have seen a few sites on the web that was selling the SQL server 2000
>system table poster. There are simular posters for Oracle 8i, 9i and 10G
>(which show the layout and columns of the system table spaces, such as
>dba_user, user_tables, all_tables, user_constraints, dba_constraints, etc.).
>I though that i had found a place to puchase the poster for SQL server 2000
>(via SQL server magazine), but their e-store was down today and I could not
>find any refernce to the poster on their web site.
>Can anyone think of any places that I can purcahse such a poster. I have
>heard that the SQL server 2000 poster is included when you purchase SQL
>server 2000 (not sure what version it is included with, either standard or
>enterprise), but I would like to get my hands on the poster as I need to see
>some of the tables for the project that I am working on (for reference
>purposes). I have not personally purchased SQL server 2000 myself as of yet,
>hope to do so later this year).
>Edward Letendre.
>
>

Tuesday, March 20, 2012

pulling my hair out over udf and dynamic SQL

Hi, I hope someone can help me.
I have a stored procedure that creates some dynamic SQL which is used
to populate a payroll system with timesheets information. As part of
the SQL that is created a udf is called to calculate the employees base
pay for the month.
the issue is that if I execute the query string using the exec command
the udf does not fire, however if I copy the querystring into QA and
run it, the results are fine, any pointers here would be great.
Thanks
SimonADO? If so, try SET NOCOUNT ON. If not, can you repro the "not firing" scena
rio in QA?
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
<simon.wilkinson@.cohenschemist.co.uk> wrote in message
news:1127406711.829918.196100@.g49g2000cwa.googlegroups.com...
> Hi, I hope someone can help me.
> I have a stored procedure that creates some dynamic SQL which is used
> to populate a payroll system with timesheets information. As part of
> the SQL that is created a udf is called to calculate the employees base
> pay for the month.
> the issue is that if I execute the query string using the exec command
> the udf does not fire, however if I copy the querystring into QA and
> run it, the results are fine, any pointers here would be great.
> Thanks
> Simon
>|||post your SQL statements
<simon.wilkinson@.cohenschemist.co.uk> wrote in message
news:1127406711.829918.196100@.g49g2000cwa.googlegroups.com...
> Hi, I hope someone can help me.
> I have a stored procedure that creates some dynamic SQL which is used
> to populate a payroll system with timesheets information. As part of
> the SQL that is created a udf is called to calculate the employees base
> pay for the month.
> the issue is that if I execute the query string using the exec command
> the udf does not fire, however if I copy the querystring into QA and
> run it, the results are fine, any pointers here would be great.
> Thanks
> Simon
>|||Can you post a script to reproduce the problem? Please include DDL.
If you find yourself needing dynamic SQL for basic data manipulation tasks
then that's often an indicator of a poor underlying design. Have you tried
to solve the problem without the dynamic code?
David Portas
SQL Server MVP
--|||Why are you using dynamic SQL? Are the rules for the payroll
constantly changing from month to month, moment to moment? Why do
users know more at run time about how to do a payroll than you know at
design time?
This kind of programming is usually a sign of a lack of a proper data
model and the use of a UDF is usually a sign of proceudral coding in
SQL instead of relational code.
Please post DDL, so that people do not have to guess what the keys,
constraints, Declarative Referential Integrity, data types, etc. in
your schema are. Sample data is also a good idea, along with clear
specifications. It is very hard to debug code when you do not let us
see it.|||Hi all,
I managed to sort it, Looks like the udf was not needed after all in
this instance, but as to why that particular one would not fire when
called through a generated sql string is a mystery to me, especially
when others worked fine.
Tibor - thanks for the tip but I was still testing within QA, but will
bare the NO COUNT in mind should I come across the problem when using
ADO.
David - Thanks for the offer however I did not fancy posting a
storedprocedure containing over 500 lines of code that is not fully
commented as I am still devleloping it. This is not really what I
would term basic data manipulation, due to the rules of our pay
periods, and other factors. I did try to solve the issue without using
generated/dynamic SQL but kept hitting a brick wall, thanks again for
the offer.
Celko - I am using dynamic/generated SQL as trying to build a flat out
view for this task was proving a real headache. Our payroll rules do
not change from month to month, moment to moment, however working
things out like how our pay periods are structured does change, whether
this be a 5 w pay month or a four w pay month, plus the fact that
the actual period dates differ, and we are not simply paid from the
first to the 31st of each month that would be too easy. The users do
not know more at run time than I know as design time, all they know is
the last day of the pay month. From this the rules are applied and the
script generated to produce the output.
Correct me if I am wrong but aren't udfs ideal for things like business
rules and such like, for example, I am using udf's to manage, our
sickness rules, holiday rules and payroll rules. I would not really
fancy having to re-write views and stored procedures because our
sickness rules have changed slightly due to us buying another company
and honouring their sickness rules, I would be much happier just
changing a udf.
I see this a lot on these groups, saying udf's are bad and
dynamic/generated SQL is a sign of defeat, something I do not agree
with.
Anyway thats my rant over with, thanks for the offer of assistance, but
all I was really looking for was, maybe someone who had come across
this strange issue before.|||Nothing in what you've said indicates to me that dynamic SQL is an
obvious choice. The calendar, payment dates and stuff can go in a
table, where it can be easily modified without code changes.
I wouldn't say dynamic code is universally bad but it isn't best
practice for a production application. All too often, dynamic SQL is
just used as a kludge around poor data design. That may or may not be
the case here but I've worked with a few payroll systems and I haven't
yet seen one that couldn't represent all the configuration information
as data elements rather than dynamic code. In fact AFAIK that's pretty
standard practice with packaged payroll systems (tax and regulatory
stuff is usually implemented as separate modules that can be patched
for localization support), which in principle have to cope with a much
more complex and varied set of circumstances across a variety of
different business.
David Portas
SQL Server MVP
--|||David,
Fair comments I feel,
For some reason I had not actually thought of putting the pay dates and
periods into a table, not sure why as this is now obvious, maybe I
should get my school bag and go home! Actually doing that will get rid
of most of the dynamic/generated stuff I have in this instance as most
of it is working that out, lucky I am not actually writing a payroll
system but creating an add on.
Thanks.
Simon|||>> Our payroll rules do not change from month to month, moment to moment, ho
wever working things out like how our pay periods are structured does change
, whether this be a 5 w pay month or a four w pay month, plus the fact
that the actual period dat
es differ, and we are not simply paid from the first to the 31st of each mon
th that would be too easy. <<
You are still thinking with procedures and not relations. Look up the
use of an auxiliary Calendar table in one of my books. Do not try to
use dynamic SQL to construct this data every time you do a payroll.|||David and Celko,
Thanks for the tips, the using a table for dates/Auxiliary table worked
a treat.
Thanks
Simon.

Friday, March 9, 2012

Pubs not installed?

Both myself and my tech editor do not have the Pubs database installed as part of SQL Express 2005 in VS 2005 Team System Beta 2 and VB 2005 professional Beta 2. Is it 1) deliberately left out, 2) just missing in Beta 2 and will be in RC1 or 3) we did dsomwthing wrong and it should be there.

Thanks!

S

The SQL Server Express SKU does not include Books Online or the sample databases. Books Online will be available as a separate download. In the meantime you can download one of the other editions (developer/beta, standard, etc) and install Books Online from that edition.

Dan|||Yes, but what about the pubs database?

Wednesday, March 7, 2012

publishing a ssrs2005 reprot on a 2000 system

Hello everyone!
Does anyone know if you can depoly a report created in SSRS2005 environment
on a SQL Server 2000 report server?
Thanks!
AmedeoHi
No, the RDL is different between the 2 versions.
Regards
--
Mike
This posting is provided "AS IS" with no warranties, and confers no rights.
"Amedeo Feroce" <aferoce@.akdhc.com> wrote in message
news:O8Obr1klGHA.5044@.TK2MSFTNGP02.phx.gbl...
> Hello everyone!
> Does anyone know if you can depoly a report created in SSRS2005
> environment on a SQL Server 2000 report server?
> Thanks!
> Amedeo
>

Saturday, February 25, 2012

Public Role Permissions

I have a system that before I arrived, they granted all permissions to all
objects to the public role instead of creating there own. While in the
process of trying to fix this we discovered that all users through the publi
c
role have the ability to create objects.
Ultimately what I need to know is how do I revoke or remove permissions to
the public role?Hi,
You will need to create new roles and assign the required permissions the
role. After that assign the approprate roles to users.
Once you are done with that then you could use ROVOKE command remove the
permissions from Public role. The only way to rovoke
Public role rights is to Rove the permissions.
Thanks
Hari
SQL Server MVP
"Rick" <Rick@.discussions.microsoft.com> wrote in message
news:43353E72-E45B-4048-BA73-E84000DFEA4D@.microsoft.com...
>I have a system that before I arrived, they granted all permissions to all
> objects to the public role instead of creating there own. While in the
> process of trying to fix this we discovered that all users through the
> public
> role have the ability to create objects.
> Ultimately what I need to know is how do I revoke or remove permissions to
> the public role?

Monday, February 20, 2012

Public role and explicit rights

I gave a developer rights to the Public role on a SQL Server 2000 database. The Public role only has explicitly set select rights to the system tables and one user table. There are no other explicit rights set. The developer was able to open a table that had no rights set in enterprise manager and change data. Is this possible?

What are are the rights in Public if an object doesn't have them explicitly set?

Thanx for your responses in advance,

andy

resolved, someone put him in a group with greater permissions

Public Domain Version Control

Hi,
I am looking for a public domain version control system for my SQL
server project. The public domain price is right, but if it works well
with either Enterprise Manager or Query Analyzer, that would be nice too.
Anyone got any recommendations or links?
JDIf by "public domain" you mean open source:
http://www.nongnu.org/cvs/
I'm not aware of any actual public domain SCM software.
Adam Machanic
Pro SQL Server 2005, available now
http://www.apress.com/book/bookDisplay.html?bID=457
--
"Joe Delphi" <delphi561@.nospam.cox.net> wrote in message
news:ZLwef.74$xu.64@.fed1read01...
> Hi,
> I am looking for a public domain version control system for my SQL
> server project. The public domain price is right, but if it works well
> with either Enterprise Manager or Query Analyzer, that would be nice too.
> Anyone got any recommendations or links?
> JD
>