Viewing 15 posts - 24,166 through 24,180 (of 26,490 total)
Added an additional test:
create proc dbo.MyTest (
@StartDate datetime = null
)
as
begin
set @StartDate = isnull(@StartDate,getdate());
select @StartDate;
return...
September 30, 2008 at 10:29 pm
You can't use the fuction getdate() as a default. You need to do something like this:
create proc dbo.MyTest (
@StartDate datetime = null
)
as
begin
...
September 30, 2008 at 9:51 pm
rbarryyoung (9/30/2008)
Jeffrey Williams (9/30/2008)
tbeadle (9/29/2008)
SELECT ...
FROM table1
LEFT JOIN table2 ON table2.fkey =...
September 30, 2008 at 1:20 pm
A quick fix may (or may not) be to add the user to the db_ddladmin role in the database in question.
I haven't found anything else as of yet.
😎
September 30, 2008 at 1:09 pm
You asked:
does anyone know what is the purpose of this subquery???I have never seen this kind of updating statement...
This is the only subquery I see:
...
September 30, 2008 at 1:08 pm
I will have to do some research, but the developer is full of it when it comes to needing to have to use sa to create temp tables.
I'll let you...
September 30, 2008 at 12:48 pm
Full Backup - Everything is backed up.
Differential Backup - Everything that has changed since the last Full Backup is backed up.
Incremental Backup - Everything since the last Incremental Backup is...
September 30, 2008 at 12:36 pm
What exactly is the error you get?
September 30, 2008 at 12:25 pm
Have to comment on the snow. I live in Widefield (or as my parents like to say, North Pueblo), and we get very little snow on average when compared...
September 30, 2008 at 12:22 pm
Jack Corbett (9/30/2008)
Jo Pattyn (9/30/2008)
Business Intelligence. Trying to get more usefull information out of your data.
Sorry, my question was meant to be funny. I do know what BI is,...
September 30, 2008 at 12:13 pm
Some sample data, a table for the sample data, and the expected output would help greatly. Preferable, all of this should be done such that all we have to...
September 30, 2008 at 12:12 pm
cmosentine (9/30/2008)
Mark (9/30/2008)
Chris,As a side issue whats sleeping in a Holiday Inn got to do with things?
It was a joke taken from a lame TV commercial.
Actually, to be precise, it...
September 30, 2008 at 12:08 pm
mixalissen (9/30/2008)
SET count_Successful_modulesOfProgram = CountModulesOfProgram
FROM @tmp t,
(
SELECTcert_cand_programs.candidate_fk,
COUNT(cert_cand_programs_fk) AS CountModulesOfProgram
FROM cert_cand_programs
INNER JOIN cert_cand_programs_details ON cert_cand_programs.pk = cert_cand_programs_details.cert_cand_programs_fk
INNER JOIN Exam_Candidate...
September 30, 2008 at 12:05 pm
dfine (9/30/2008)
I don't think you can disable the idnex.
instead you can drop and re create it.
If your table contains huge no of records with clustered index created
then re creating...
September 30, 2008 at 12:01 pm
Actually, that's one of the reasons they state in BOL for disabling an index. Go to books on line and check out ALTER INDEX.
😎
September 30, 2008 at 11:49 am
Viewing 15 posts - 24,166 through 24,180 (of 26,490 total)