Viewing 15 posts - 286 through 300 (of 358 total)
Many of the suggestions that we would recommend may not have even been covered by your instructor yet. I'm sure you have been given all the information you need...
July 5, 2008 at 8:43 pm
You can put a use statement in the script.
Use database1
go
Select statment
Use database2
go
Select statement
July 4, 2008 at 8:49 am
What you can do is if the parameter is null set it to equal itself. If you pass a parameter it will use the value otherwise it will ignore...
July 4, 2008 at 8:34 am
I really like the Exam Cram series. The chapters are short and to the point. There is a small test at the end of each chapter, and two...
July 2, 2008 at 8:03 pm
Can you do a ...
replace(varText, '''', '''''')
July 2, 2008 at 11:41 am
If the database is in Full recovery mode, you need to take scheduled log backups. If you do not need log backups, change the recorery to Simple.
LOG truncates occurs...
June 26, 2008 at 10:06 pm
Here is a script I wrote to collect the space for the drives and the databases.
June 26, 2008 at 10:02 pm
You can use the bcp command to write directly to a file.
DECLARE @FileName varchar(50),
@bcpCommand varchar(2000)
--The character after -t notes the field delimeter. If -t is removed tab is the...
June 26, 2008 at 3:12 pm
sheetalsh (6/26/2008)
It's giving error as follows:
Msg 321, Level 15, State 1, Line 28
"sql_handle" is not a recognized table hints option. If it is intended as a parameter to a...
June 26, 2008 at 7:29 am
Here is the script. I am not sure why it will not copy correctly from the article. When you copy the script from the article there is no space...
June 26, 2008 at 5:15 am
Here are some samples of setting up and sending database mail.
http://cybersql.blogspot.com/2008/06/script-to-setup-database-mail.html
One thing you can check is the sysmail_allitems table and see if there are any errors.
SELECT * FROM...
June 24, 2008 at 9:23 pm
You have to download Management Studio seperately.
June 20, 2008 at 5:28 pm
You have to open Sql Server Business Intilligence Development Studio.
June 17, 2008 at 7:01 pm
Here you go.
UPDATE fiscaldate
SET fiscaldateperiod = ( CASE
WHEN MONTH(fiscaldate) < 6 THEN dateadd(m,6,fiscaldate)
ELSE
dateadd(m,7,fiscaldate)
END
)
from fiscaldate
June 15, 2008 at 9:42 pm
Viewing 15 posts - 286 through 300 (of 358 total)