Viewing 15 posts - 16 through 30 (of 33 total)
suser_id()
suser_name()
functions are what you are looking for i think ?
if not you may need to be more specific
March 10, 2008 at 8:09 am
Point taken.
as i started out with... monday morning 🙂
March 10, 2008 at 5:17 am
ok.. but that kind of defeats the propose where you want to work with the current row in the select part insert statement.
That is for each line in the...
March 10, 2008 at 4:58 am
you will need to have execute rights to the sp_addlinkedserver procedure.
March 3, 2008 at 12:59 am
that's correct.. server side cursors are not something you want to do . I have been scaling them out.
like adam said post the schema and what is needed. im...
March 1, 2008 at 11:26 am
well first of if writing a cursor doit like this.
declare @databasename sysname
declare myCursor cursor for
select name from sys.databases
open myCursor
fetch next from myCursor into @databasename
--let's start looping
while @@fetch_status =...
March 1, 2008 at 7:24 am
Did you let the installer configure SSRS ?
if so i would try to create an new SSRS database from within the SSRS configuration tool.
I have had some problems with SSRS...
February 29, 2008 at 3:02 pm
What was interesting to me was that I tried to telnet port 135 between the 2 computers after enabling inbound and outbound MDTC. but all was good after I opened...
February 29, 2008 at 2:54 pm
hi.. i have spent my whole day trying to resolve this issue. now from what i have seen.. the DTC does not like triggers not sure if that is actually...
February 29, 2008 at 9:47 am
well. you use the unpivot temp table to join to the source table on primary key columns. then you get your data.
if you are changing values in the pivoit table...
January 18, 2008 at 4:23 am
well basicly what you would have to do is unpivot the data. update the source table with the normalized data.
example from BOL
CREATE TABLE #pvt (VendorID int, Emp1 int, Emp2 int,
Emp3...
January 18, 2008 at 3:22 am
I would try to solve this by removing the subquery , creating an CTE with the aboce stuff . and selecting and filtering the CTE.
With myCTE as
(
SELECT P.street_number_full AS StreetNumber,...
January 15, 2008 at 3:48 pm
yes it's far from a perfect solution, but i would check out the new triggers browsed them a little and they look good.
January 15, 2008 at 2:58 pm
Hi.
I am facing the same problems as you have been describing. Now what I Did was to create a database with a "user audit"
table DB_Usage(db_id int , active_dttm datetime)
now then...
January 15, 2008 at 2:15 pm
sorry... incorrect code.
with mysession(date, session) as
(
select date, session from #rr where message <> 'error'
)
select top 1 convert(varchar,date,2),session from mysession
group by convert(varchar,date,2),session
having count(session) = 3
January 9, 2008 at 7:25 am
Viewing 15 posts - 16 through 30 (of 33 total)