Viewing 15 posts - 5,836 through 5,850 (of 13,468 total)
to see all users, you need to grant view server state permissions.
grant VIEW SERVER STATE to TheRightRole;
March 7, 2012 at 3:03 pm
also, you'd get an error if you try to use * and also schemabind a view:
CREATE VIEW v_YOURTABLE
WITH SCHEMABINDING
AS
SELECT * FROM YOURTABLE
Msg 1054, Level 15, State 6, Procedure...
March 7, 2012 at 2:07 pm
yes.
if the view is not schema bound, if you created the view with select *...that gets compiled to a select featuring the actual columns at the time of creation.
you can...
March 7, 2012 at 2:03 pm
Agreeing with Elliot here;
i've seen numerous posts here requesitng the same thing.
AFAIK the biniaries that are the core service and stuff must be installed on the %systemdrive%, with no...
March 7, 2012 at 12:46 pm
conceptually, i understand now; it'd a STDEV of the 6 values, right?
if you can provide a set of commands for some sample data
CREATE TABLE ...
and also
INSERT INTO...
we could show...
March 7, 2012 at 12:17 pm
the SQL server function STDEV takes a column name;
it sounds like you want the STDEV of 6 columns in a specific row, or a
all values ?
if it's the 6 columns...
March 7, 2012 at 11:10 am
do you have a logon trigger that is sending an email message or logging to a table in MSDB or something?
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...
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...
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...
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...
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!
March 6, 2012 at 8:30 am
something like this?
CREATE TABLE [dbo].[ATTACHMENTS] (
[ATTACHMENTID] INT IDENTITY(1,1) NOT NULL PRIMARY KEY,
[NAME] ...
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 ...
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...
March 6, 2012 at 6:49 am
Viewing 15 posts - 5,836 through 5,850 (of 13,468 total)