Viewing 15 posts - 9,016 through 9,030 (of 13,461 total)
the security part that is tripping you up is this part:
@useself=N'True'
that means when you select from the linked server, your sql login is being used as the credentials for the...
July 21, 2010 at 4:47 pm
ron morgan (7/21/2010)
July 21, 2010 at 1:53 pm
after setting up that logging demo example, this query gets me the groups of login/logut elapsed times: note i am testing for a specific application name. i could then...
July 21, 2010 at 9:59 am
can you infer that ALL logins are only used for the ERP program?
a login does not know what database you are connecting to...the login happens before all that.
assuming you are...
July 21, 2010 at 9:16 am
you mean the first and last login per day?
once the data is in the table "Logging " fromt hat article, you can easily create a view that might do...
July 21, 2010 at 7:42 am
Martin one of the things you can do to get a better look at what SQL is doing behind the scenes is to look at either the Estimated Execution Plan...
July 21, 2010 at 5:55 am
Oracle_91 (7/21/2010)
July 21, 2010 at 5:44 am
lak's suggestion still stands; if you bracket the server name you'd fix the issue:
select quotename(@@SERVERNAME)
--or
select quotename(ColumnName) from SomeTable
you are probably building the bcp string, right? very simple to get the...
July 21, 2010 at 5:33 am
that's the point...it's a business decision...some examples:
1. Data was entered in all capital letters(SMITH) biz rule says it should be proper cased.
2. duplicate data exists for the same...
July 20, 2010 at 8:52 am
yeah, there's no built in way to determine what data is "clean" or "dirty", it's a decision based on analysis...and one man's definition of dirty is not the same as...
July 20, 2010 at 8:26 am
I'm assuming the variable @VsebZapis is the string you are writing?
are you adding a CrLf to the end of it, so each record is on a single line in the...
July 20, 2010 at 8:22 am
it's in the registry, and there's one for each version of SSMS, it looks like:
for 2008, for exmaple it's here:
HKEY_CURRENT_USER\Software\Microsoft\Microsoft SQL Server\100\Tools\Shell
that's where you would change everything to default to...
July 20, 2010 at 8:14 am
i don't think your @r variable will ever be null.... count would return zero if nothing was found;
SELECT @r = COUNT(*) FROM SchoolStudents WHERE roll = @roll
--will return...
July 20, 2010 at 5:44 am
jyoti2705 (7/19/2010)
July 19, 2010 at 12:16 pm
AFAIK, images that will appear in an email must be an attachment. because html is interpreted, you can't just find and replace to ge tthe image in there.
your choices...
July 19, 2010 at 11:20 am
Viewing 15 posts - 9,016 through 9,030 (of 13,461 total)