Viewing 15 posts - 5,581 through 5,595 (of 7,636 total)
if you look at the top center of the Forum window, about half an inch below the RedGate ad, is a link called "My Posts". If you click that...
September 4, 2008 at 9:26 pm
Jacob Pressures (9/4/2008)
Error: #1
Date: 9/4/2008 10:24:59 AM
ADO Error: #-2147467259
Description:...
September 4, 2008 at 8:25 pm
This can actually be viewed as two different issues: 1) how to get the data you want and 2) how to get that data into the format that you want.
This...
September 4, 2008 at 2:36 pm
I am pretty sure that I know how to do it too. I just need the OP to answer my question first:
rbarryyoung (9/4/2008)
September 4, 2008 at 12:03 pm
Jack Corbett (9/4/2008)
[font="Courier New"]SELECTGT.loginname,
MIN(GT.StartTime) AS FirstLogin,
MAX(GT.StartTime) AS LastLoginFROM
sys.traces T CROSS Apply
::fn_trace_gettable(T.path, 5) GTWHERE
GT.loginname IS NOT NULLGROUP BY
GT.LoginName[/font]
This is seriously cool, Jack. ...
September 4, 2008 at 10:08 am
Make sure that Hyperthreading is off and MAXDOP is set to 1.
September 4, 2008 at 9:58 am
How many different locales and how many different RowKeys are there?
September 4, 2008 at 9:40 am
Glad we could help. FYI, for CLR you will probably need the EXTERNAL_ACCESS permission and SAFE is not enough for writing to files.
September 4, 2008 at 7:22 am
jminette (9/2/2008)
Where database professionals can merge join based on 27 parameters in our stored procedure of compatibility.
Hmmm, sounds like a performance problem. 😛
September 3, 2008 at 9:20 pm
Matt Miller (9/3/2008)
rbarryyoung (9/3/2008)
Because I put it in.
That's why you keep seeing the old "the order of processing is not guaranteed" disclaimers on MSDN as to these kinds of things....
September 3, 2008 at 3:55 pm
Well, thanks for the feedback! 🙂 Some of the credit goes to Michael Coles SQL XML book, which I have been reading this week. It too is...
September 3, 2008 at 3:48 pm
Here is the script that I used to test it:
Set Nocount ON
create table cit(cno int, descr varchar(16))
create table nit(cno int, descr varchar(16))
go
Insert into cit select 100, ''
Insert into nit select...
September 3, 2008 at 3:45 pm
sturner (9/3/2008)
rbarryyoung (9/3/2008)
This should work then:
Update c1 set descr = n1.descr
From cit c1
Join nit n1 ON c1.cno=n1.cno
actually, that join would set descr = to the "2nd"...
September 3, 2008 at 3:31 pm
Christian Buettner (9/3/2008)
sqlcmd -S TheServerNameHere -o C:\Results.txt -Q "SET NOCOUNT ON;SET ROWCOUNT 200;DECLARE @A nvarchar(max);SELECT @A = ISNULL(@A,'') + ISNULL(OBJECT_DEFINITION(id), object_name(id) +...
September 3, 2008 at 3:28 pm
Viewing 15 posts - 5,581 through 5,595 (of 7,636 total)