Viewing 15 posts - 6,481 through 6,495 (of 7,429 total)
First, is there a reason why you could get the source to stop doing this. Second if any one of those fields must have data in it you could just...
April 8, 2002 at 3:49 pm
The problem is B does not exist in the data source. You can however do it like so.
SELECT A, B,
C = Case B
When 'Female' Then 'Woman'
Else
'Man'
FROM (Select A,
B...
April 8, 2002 at 3:42 pm
When you do xp_cmdshell it shells out to the server you are attached to and the file will be exported there. You have to open a CMD prompt on you...
April 8, 2002 at 3:40 pm
Not sure, most likely paid Microsoft so the backup hooks or are hooking some API to get to the database. If I come across anything I will pass it on.
"Don't...
April 8, 2002 at 3:37 pm
You may need to do it thru QA code by doing an
ALTER TRIGGER "tblCustomerName_DTrig" ON dbo.tblCustomerName FOR DELETE AS
SET NOCOUNT ON
/* * CASCADE DELETES TO 'tblCustomerChallenge' */
DELETE tblCustomerChallenge FROM deleted,...
April 8, 2002 at 3:32 pm
Your request is confusing. Can you be more specific about what you mean. First it sounded like you wanted ther date of the last time the database was resotred. But...
April 8, 2002 at 3:28 pm
In truth no, except that they execute immediately one after the other. They should ahve the exacte same execution time as doing seperately but you have to keep in mind...
April 8, 2002 at 3:22 pm
Do a file backup to the local drive system or a remote drive.
BACKUP DATABASE [dbnamehere]
TO DISK = 'D:\Backups\Backup1.dat'
WITH
INIT,
NAME = 'Database Full Backup'
Just fill your information in then restore to the...
April 8, 2002 at 3:19 pm
Let us know what happens?
"Don't roll your eyes at me. I will tape them in place." (Teacher on Boston Public)
April 8, 2002 at 11:09 am
You will not be able to group by as the data varies, a piivot table won't work here and you cannot join to self enough to cover every possiblity.
However this...
April 8, 2002 at 11:06 am
So far this has never failed me and cleans up a number of issues with databases when adjusting size (especially drastic changes). Note: large databases take a while, generally.
--Truncate Log...
April 8, 2002 at 10:37 am
Maybe I am missing something, can you post an example of what you get as the output. Also please post the table DDL so I can see what happens here...
April 8, 2002 at 9:12 am
Who knows why sometimes things do this. Great to hear it's working.
"Don't roll your eyes at me. I will tape them in place." (Teacher on Boston Public)
April 8, 2002 at 8:47 am
Try
Select name, date, dept from table
where
(date between '2/2/02' and '2/4/02')
and dept = 'red'
You should always put between statements in () to make sure parses correctly.
"Don't roll your eyes at me....
April 8, 2002 at 8:37 am
One way is to run
for Single DB
select [name] from sysobjects where xtype = 'P' and base_schema_ver != 16 order by [name]
for All DB
sp_MSFOrEachDB 'select ''?'' AS DB , [name]...
April 8, 2002 at 7:43 am
Viewing 15 posts - 6,481 through 6,495 (of 7,429 total)