Viewing 15 posts - 24,706 through 24,720 (of 26,486 total)
Try this:
DECLARE @DB varchar(25)
DECLARE DBCursor CURSOR FOR
SELECT [name]
FROM master.sys.databases
...
June 5, 2008 at 9:12 am
What constitutes an ADD? For an existing ID, is the field blank (or null) if there is no entry?
😎
June 5, 2008 at 9:07 am
Could you provide the DDL for the two tables involved?
😎
June 5, 2008 at 9:05 am
Could you explain this in a little more detail?
Due to scoping restrictions, I am not able to perform a "select * into #temp from sourcetable".
😎
June 5, 2008 at 8:51 am
Here is the code using dynamic sql:
use [MyDatabase]
go
declare @T sysname,
@SQLCmd nvarchar(max)
set @T = 'second_db.dbo.more_records'
set @SQLCmd =
'update dbo.addresslist set
...
June 5, 2008 at 8:43 am
First, to do it the way you are trying, you need to use dynamic sql. I haven't written it that way yet, but based on your posted code I...
June 5, 2008 at 8:38 am
So far I have only done this once, but on one request for help after a few back and forth posts by several people (I seem to remember at least...
May 29, 2008 at 10:54 pm
NE huh. Welcome to my stomping grounds. If after you drive in and out of the state, you have any questions about oh, say....corn. Let me know!!...
May 29, 2008 at 5:40 pm
You may want to run DBCC CHECKDB on the database.
😎
May 28, 2008 at 9:46 pm
Can you run a full backup manually using SSMS?
😎
May 28, 2008 at 9:06 pm
As it looks like you are using SQL Server 2000, I'd use DTS packages to import the data from the two tables. Of course, you have only provided partial...
May 28, 2008 at 8:52 pm
Hey, any info I can get and send to our PeopleSoft Administrator now is good. Gives her more time to digest it and bounce ideas off the consultant we...
May 28, 2008 at 8:06 pm
Not tied to any one way or other, actually looking for alternatives that we can compare and evaluate. As with anything, we have to look at the application and...
May 28, 2008 at 4:31 pm
Here is the official word: CA etrust ITM version 8.1
May 28, 2008 at 1:14 pm
Matt's right on that observation. Instead of teaching someone to fish, we end up doing the fishing, and we get nothing in return. Well not totally true. ...
May 28, 2008 at 1:08 pm
Viewing 15 posts - 24,706 through 24,720 (of 26,486 total)