Viewing 15 posts - 9,016 through 9,030 (of 13,460 total)
ron morgan (7/21/2010)
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
July 21, 2010 at 5:55 am
Oracle_91 (7/21/2010)
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
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...
Lowell
July 20, 2010 at 5:44 am
jyoti2705 (7/19/2010)
Lowell
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...
Lowell
July 19, 2010 at 11:20 am
James i'm guessing that you'd need to post the code for the procedure sp_sendmailsimmediately
clearly it's using CDO instead of the newer msdb.dbo.sp_send_dbmail, and a required parameter is missing.
Lowell
July 19, 2010 at 6:46 am
Viewing 15 posts - 9,016 through 9,030 (of 13,460 total)