Viewing 15 posts - 8,911 through 8,925 (of 13,461 total)
glad it's helping you out Vincent;
you know that's a neat idea and exactly why i love SSC; other peoples feedback make everything better.
Sometimes you cannot see the tree when you...
August 18, 2010 at 7:46 am
this thread is a follow up to ny66's need to parse a substring into seperate fields:
http://www.sqlservercentral.com/Forums/FindPost967451.aspx
in that post, I had assumed the data was single-space delimited, based on the example...
August 18, 2010 at 7:26 am
steve i think all you need to do is instead of getting the max(probability), you just createa a subquery with a group by construc, and join to that;
based on your...
August 18, 2010 at 6:17 am
ny66 (8/17/2010)
August 17, 2010 at 10:40 am
i think your developers are right, and that the order of joins has no meaning; as I understand it, no matter the order of the joins, the Query Engine will...
August 17, 2010 at 10:09 am
OK i'm not sure why you cannot use the existing GUI tools in SSMS to script the table, including the index definitions; in 2008 you can also get the GUI...
August 17, 2010 at 9:28 am
I believe the procedure will fail, because only an existing sysadmin can create another sysadmin.
so even though your UserA is db_owner in his database,
as long as his personal logon is...
August 17, 2010 at 7:00 am
sgambale (8/17/2010)
August 17, 2010 at 6:32 am
if you used the GUI, you can rename a stored procedure without having changed it's underlying definition. that was at least true in SQL 2000 with Enterpise Manager.
so i could...
August 17, 2010 at 6:17 am
balasach82 (8/17/2010)
Its ok if the user can delete his own tables, But other than the using trigger is there no way to stop the user from dropping other's tables?
that is...
August 17, 2010 at 6:10 am
the LEN() function ignores trailing spaces, even on a CHAR data type, where the DATALENGTH() function respects the spaces;
so to find exactly two trailing spaces in a column:
SELECT * FROM...
August 17, 2010 at 5:49 am
balasach82 (8/17/2010)
How Deny DROP access to a db_ddbladmin user. The user needs to create tables/views/sp's etc
you cannot modify the built in roles in any way;
what you want to do is...
August 17, 2010 at 5:38 am
ok i'm pretty sure you are pasting untested code, because the tables you pasted do not have the same column names as the trigger;
i'm not surprised nothing seems to work...the...
August 16, 2010 at 11:30 am
well, the way i read your trigger, it should be working just fine.
if you run this commnad, do you see changes in the status?
SELECT i.AppointmentUID,i.AppointmentStatusUID,StatusStartTime
FROM AppointmentStatusTransactions
GROUP BY i.AppointmentUID,i.AppointmentStatusUID,StatusStartTime
...
August 16, 2010 at 9:50 am
the UPDATE() function is so misleading.
the UPDATE() tests to see if the column name was specifically included/named in the update or not...it does not test if a value changed.
what...
August 16, 2010 at 9:27 am
Viewing 15 posts - 8,911 through 8,925 (of 13,461 total)