Viewing 15 posts - 181 through 195 (of 322 total)
What client/wizard are you using?
If your user is not a user in the other databases, you won't even be able to enumerate a list of them. And if your user...
February 2, 2007 at 3:29 pm
Can you even tell if data has been stolen? No, not always.
Thieves stole a laptop from the car of a VA employee last year with data on 26 million veterans...
February 2, 2007 at 3:03 pm
Got your problem solved yet? Sorry I'm posting so long after your OP, but I'm behind on my TiVo, too. A couple of...
January 30, 2007 at 10:57 am
Barry,
You probably already thought of this, but you will need to somehow designate the 51st row so you delete the correct row. If you use some variation of TOP 50 with...
January 19, 2007 at 5:30 pm
Something like this?
DECLARE @Parm1 int
, @Parm2 int
, @Parm3 int
, @Parm4 int
SET @Parm1 = 1
SET @Parm2 = 2
SET @Parm3 = 3
DECLARE @Wherever TABLE (ID int, RowName varchar(50))
DECLARE @joined TABLE (Parm int)
INSERT INTO...
January 19, 2007 at 5:23 pm
One word: flamethrower.
Have a monthly drawing in IT for who gets to strap on that bad boy and light up a pile of...
January 18, 2007 at 10:03 am
My original, stated goal was to set up a database container "B" that holds only a set of views that reference tables in database "A". I'm trying to separate the views,...
January 5, 2007 at 4:35 pm
No worky. I'm sure I'm doing something wrong.
I have two databases on Server A. In DB X I have the views, they point to tables in DB Y. On Server...
January 5, 2007 at 3:55 pm
Robert: Thanks for the reply, but I don't see how to set up the view as you describe. Can you please fill me in? Thanks.
January 5, 2007 at 12:55 pm
"If I own the laptop then the company is in effect leasing me as a disposable resource."
Well, sure they are. In the US they call it "at-will" employment. They are...
December 15, 2006 at 2:07 pm
Yes, but doesn't SELECT...INTO lock the database for the duration of the select? That's why I always create the table first, then insert into it.
November 29, 2006 at 12:47 pm
Sorry, that's the advanced, SQL Server 2008 syntax.
November 29, 2006 at 10:01 am
The WHERE clause of the UPDATE statement I provided tests in one statement every row of the temp table that has not been tested yet and sets the error flag. ...
November 29, 2006 at 9:58 am
DECLARE #YourTempTable (colA varchar(20), colB varchar(20), colC varchar(20))
INSERT INTO #YourTempTable
select colA, colB, colC from XX
where tff_id ='108'
and tap_from_dt >'2006-07-01 00:00:00:000'
November 29, 2006 at 9:52 am
Yep, lose the cursor. Not because cursors are inherently evil, but because there's a more efficient, set-based way. Those function calls to parse each field in the row have gotta...
November 29, 2006 at 9:44 am
Viewing 15 posts - 181 through 195 (of 322 total)