|
Do NOT use windows logon within the database security. Create a "functional" id in sql server with a usedid and password, have the application use this ID as the credentials to connect to the database.
Manage the user security within the application rather than use windows/sql security. As Piebal suggested have a used table with credentials that can be managed from within your application by an administrator (you presumably)
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Q. Why do you need each volunteer to be separately logged in? Do you need to keep track of who let in whom?
Assuming you're not too concerned about someone trying to steal or knacker the database then the type of security doesn't really matter - integrated or not that is.
You could do something as simple as asking them to type in their name (selection from a drop down could be risky - what if someone volunteers in another user's place?) and then log that in the database.
Disable the entry of the name on a login/logout button and bob's your uncle.
___________________________________________
.\\axxx
(That's an 'M')
|
|
|
|
|
How can I update my table every hour?please help me
|
|
|
|
|
You question is a bit open-ended, but I'll try to point you in the right direction.
If you are logged in as "sa" in SQL server Management Studio, look under "SQL Server Agent" and you will find "Jobs". Here you can create a job to execute with a Daily Frequency of every hour.
Does this help?
|
|
|
|
|
Thanks but I'm not logged in as "sa". please explain more about job?
I see it in sql server agent but I didn't work it.I should update table data every hour
|
|
|
|
|
If you don't have sa access, then I would write a windows command line utility (no GUI) which can be scheduled in the Windows Task Schedule to run every hour to update your table.
|
|
|
|
|
Thanks David
|
|
|
|
|
hi..
i'm using ssrs 2008 enterprice edition..
i want to send a report as email..
to my gmail address.. i want to schedule a report so that it can
deliver daily to my gmail address..
how to send the report to my gmail address..
i dont know anything about smtp server activation and services
and also in configuration of reporting services..
i dont know how to configure email settings..
please help me..
can anyone provide a step by step datails
for the above requirment..
|
|
|
|
|
vinu.1111 wrote: can anyone provide a step by step datails
It is unlikely you will get this, it is a fairly large subject to cover.
You need to set up a subscription that will process the report, the subscription can be set up to email the exported report to your gmail account.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hello,
I would like to find a cheap (free) software package that I can use to output data from SQL Server. It does not need to be too fancy as all I am doing is connecting two tables (header and detail).
I do not do this often enough to purchase Crystal Reports.
Thanks
djj
Note I originally posted this in the Lounge as a reporting question. I guess I should have thought to put it in the DB area.
modified on Monday, January 31, 2011 9:08 AM
|
|
|
|
|
As a developer, can you not write your own?
|
|
|
|
|
I am not a developer! I do a little programming but am mainly a T-SQL person as a DBA.
I did think about it though
|
|
|
|
|
djj55 wrote: I am not a developer
Your profile says you are.....
If your not looking for anything fancy, then sometimes rolling your own can be the best option. Sometimes giving your brain that little challenge is enought to keep you ticking over nicely.
|
|
|
|
|
Actually my profile says I have been programming. That technically is not a developer as they generally (I hope) know what they are doing.
The number of programs being used by people that I have developed is very small and the programs themselves are simple.
Four years ago I could have knocked something out quickly but know I need to refresh my memory on how to do it which I like to do but the boss thinks I could use my time else where.
|
|
|
|
|
If you've got Server SQL, why not use Reporting Services (SSRS)?
Sarchasm : The gulf between the author of sarcastic wit and the person who doesn't get it.
|
|
|
|
|
Good question. Mainly I do not know how to. I guess I can get my book out and see what I come up with.
-- I have a quick and dirt report but need to figure out formatting.
modified on Monday, January 31, 2011 9:43 AM
|
|
|
|
|
Excel?
I use it and it is easy to manipulate.
------------------------------------
I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave
CCC League Table Link
CCC Link[ ^]
|
|
|
|
|
I have a text column that is greater than 255 characters.
Excel has a problem when I try to move the info around.
|
|
|
|
|
Excel as a reporting tool is a dog, integrating any office product to a database/c# application is always fraught with danger.
Outputting the data to a csv file and manipulating it in excel on the other hand is reasonable.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I write XML and then use XSLT to transform the data (to HTML or CSV).
|
|
|
|
|
Get to know SSRS, theoretically as a DBA it does (sort of) come under database.
It's free and you can use embedded reports if your requirements are simple (if you do not need the full server capability).
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hi everyone.
First i want to ask apologize for my english but it isn't my mother language. But i try my best to explain myself. second i already post it in the .Net Framework section at Question & Answers label, but Henry Minute said to post it here because.
My Problem is:
I'm building a project using entity framework. The data base is generate by a edmx(database project). To implement business logic i use stored procedures, but i only con map the to parent entity funcions. I can't map stored procedures to an associated table.
Thanks
|
|
|
|
|
give me your sp
Help people,so poeple can help you.
|
|
|
|
|
Hi,
the problem is not the sp. The problem is i can't map it. I only can map sp to an Entity(stored procedure mapping) that exists in the .edmx file. Ex: sp_insertClient is mapped to the addClient at mapping functions. But imagine that is another table associted with the Client table by a many-to-many association. The intermediate table beetwen them has no entity in the designer model(.edmx file). So, i can not map a sp to that intermediate table.
Best regards
|
|
|
|
|
send your data as an xml to the sp as
SET @Sls_Serial = SCOPE_IDINTITY();
DECLARE @insptr Int;
EXEC sp_xml_preparedocument @insptr OUTPUT, @XML;
INSERT INTO Sales_Head
SELECT
@Sls_Serial_No
FROM OPENXML(@insptr,'<element path>',1)
WITH
(<column> <type> '@<attribute name>');
EXEC sp_xml_removedocument @insptr
Help people,so poeple can help you.
|
|
|
|