|
In Sql Server 2000/2005, I have a few NT user groups that need to be granted access to hundreds of stored procedures.
Is there a nice easy way to do that?
Started by TonyOssa on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Here's a script that I use for granting permissions to lots of procedures:
DECLARE @DB sysname ; set @DB = DB_NAME... .
Add those NT user groups to that role.
Write a script that grants that role permission to use those sprocs .
Create a role in sql server.
|
|
Every night I get hundreds, sometimes thousands, of failed ssh logins on my RedHat 4 server. For firewall reasons from remote sites, I need to run on the standard port. Is there anything I should be doing to block this. I notice that many come from the...
Started by MattMcKnight on
, 15 posts
by 15 people.
Answer Snippets (Read the full thread at serverfault):
I'd have to see your entire iptables configuration....
You can use iptables to rate-limit new incoming connections to the SSH port .
You may want to look at denyhosts as well.
Fail2ban can help with this by blocking IP addresses with too many failed log in attempts .
|
|
We have .mdb file with hundreds of tables: Lesson1, Lesson2, Lesson3, Lesson4, etc. All tables have the same structure:
Lesson<n> slide_id name description status created_date created_by updated_date updated_by
What SQL statement would generate ...
Started by Nuku on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you have to, it's easier to maintain hundreds of queries that each pull one lesson's rows (again, Excel can be a handy batch-update tool), than hundreds of lessons tables that must have identical.
|
Ask your Facebook Friends
|
A client has given me a spreadsheet of hundreds of domain names.
My task is to determine the following about each:
Which domains are connected to a web server / website. Of those that are, which redirect to another site. What is the server software running...
Started by frankadelic on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Even if you run something that queries the server directly, you can't reliably tell what server software it's using... .
The one sticky point is what server software the site uses .
Most of your requirements can be handled via the System.Net.WebClient class .
|
|
I'm currently evaluating Drools Flow as a workflow engine for executing up to hundreds of thousands of process instances per day. Has anyone published any scalability benchmarks for this technology? In the absence of published results does anyone have...
Started by Matthew Murdoch on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If it struggles, then you'll need native code, we have an experimental native flow compiler - but I'd be very surprised if it is ... .
Just appear an official post about this here
Drools Flow is about as fast as they come, it's very small and lightweight .
|
|
I'm designing a database of statistics about the operation of mechanical equipment. Each batch of data will contain hundreds of statistics, so I'm trying to decide whether to create a single table with hundreds of columns or to split it up into multiple...
Started by Eli Courtwright on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Are the hundreds of columns really unique, or are they groups of similar things.
When I see hundreds of columns in a table, i tend to suspect the data schema hasn't been properly normalised.
It up.
|
|
What do you think are the best practices to maintain dozens (if not hundreds) of debian servers up-to-date ? Keeping in mind that :
There are groups of servers (i.e identical webservers, DB Servers, ...) There can be several Debian issues (lenny, etch...
Started by Falken on
, 11 posts
by 10 people.
Answer Snippets (Read the full thread at serverfault):
In the way of pull-based configuration systems.
Tried to scale it up to hundreds of hosts though.
|
|
In C++, whenever a function creates many (hundreds or thousands of) values, I used to have the caller pass an array that my function then fills with the output values:
void computeValues(int input, std::vector<int>& output);
So, the function will...
Answer Snippets (Read the full thread at stackoverflow):
Was sub-standard.)
Response to Edit: Well, if you need to return hundreds and thousands if values(new std::vector<int>); r->push_back(...) // Hundreds of these return r; }
No copying.
|
|
I just enabled error reporting and wow what a shocker I have probably thousands if not hundreds of notices like this
Notice: Undefined index: action in C:\webserver\htdocs\header.inc.php on line 18
I understand that they are because I am calling a variable...
Started by jasondavis on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
E.g,
if ((!empty($_GET['p'] && $_GET['p'] == "account.edit.topfriends") || (!empty($_GET['action'] && $_GET['action'] == "newmember")) { //some more code here }
I usually like to use ternary statements... .
Check array elements first using isset() or empty().
|
|
I'm trying to implement a mailing list system for my application. I'm currently using Zend_Mail_Transport_Smtp('localhost') as my transport, looping through my list of subscribers, and sending a new Zend_Mail to each one. However, I am noticing that the...
Started by Andrew on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
I'm too lazy to change my.
When I double checked, I noticed it actually said hundreds to thousands.
NOTE: when I first read your question, I thought it said hundreds of thousand emails at once.
Messages.
|