Viewing 15 posts - 5,836 through 5,850 (of 13,460 total)
do you have a logon trigger that is sending an email message or logging to a table in MSDB or something?
Lowell
March 7, 2012 at 10:37 am
the UPDATE() function is really misleading;
With "UPDATE(xyzID) " for example,
a lot of people interpret that to mean "If Column (xyzID) changed".
actually SQL interprets it as "If the column xyzID was...
Lowell
March 7, 2012 at 10:30 am
imranx101 (3/7/2012)
Hi,How can I tell which user inserted or updated data in a table? Is that possible i can know?
Thanks
Not without having something in place first; SQL doesn't keep track...
Lowell
March 7, 2012 at 10:13 am
It depends on what you want to do;
it sounds like creating a event notification for AUDIT_BACKUP_RESTORE_EVENT might work, depending on what you are doing.
I've played with that for automatically running...
Lowell
March 6, 2012 at 1:51 pm
SQL server does not have windows passwords. what happens is SQL server checks the token Windows passes from Integerated security to see if you have access. SLq assumes that...
Lowell
March 6, 2012 at 11:43 am
HowardW (3/6/2012)
That's exactly what I suggested in the first post, other that renaming the table AllAttachments...:-)
doh! i see that now!
Lowell
March 6, 2012 at 8:30 am
something like this?
CREATE TABLE [dbo].[ATTACHMENTS] (
[ATTACHMENTID] INT IDENTITY(1,1) NOT NULL PRIMARY KEY,
[NAME] ...
Lowell
March 6, 2012 at 8:28 am
Anything wrong with having an "AllAttachments" table, and then a multiple linking tables that join the desired tables keys together?
So for example, if i decided to add an attachments ...
Lowell
March 6, 2012 at 8:15 am
Along Eugene's lines of code review, I've found that a very high percentage of table designs have the first column or the first few columns actually define a primary key...
Lowell
March 6, 2012 at 6:49 am
there's no easy button or magic function that you can use to fix your issue without any work on your part, sorry.
As Jeff already identified, you'll have to fix all...
Lowell
March 6, 2012 at 5:27 am
can you add a CLR?
Elliot Whitlow, a contributor here, has a very nice CLR project for file manipulation;
http://nclsqlclrfile.codeplex.com/
the code example like this works great, you cna see how you could...
Lowell
March 5, 2012 at 3:23 pm
twdavis-893252 (3/5/2012)
Lowell
March 5, 2012 at 12:27 pm
what he meant was your SSIS in 2012 can connect to any SQL 2000 instance, and thus do the database migration.
no need to use DTS and then SSIS if SSIS...
Lowell
March 5, 2012 at 5:50 am
sqlfriends (3/2/2012)
Lowell
March 2, 2012 at 8:00 pm
also, these two extended procs examples might help.
one tells you who belongs to a group, the other can tell you all the groups i belong to:
EXEC master..xp_logininfo
@acctname...
Lowell
March 2, 2012 at 2:39 pm
Viewing 15 posts - 5,836 through 5,850 (of 13,460 total)