Viewing 15 posts - 1,696 through 1,710 (of 3,011 total)
I agree that the craftsman approach is probably the best mind set from which to approach software development. The problem is that the demand for software is so high...
August 3, 2009 at 10:15 am
SQL Server runs only on Windows operating systems.
August 3, 2009 at 9:09 am
select
Order_10_Minute =
dateadd(mi,(datepart(mi,orderdate)/10)*10,dateadd(hh,datediff(hh,0,orderdate),0)),
Order_Count...
July 30, 2009 at 12:12 pm
KB (7/29/2009)
Hi,Which query executes faster in sql server 2005, if table has some 50k rows.
select count(id) from table --id being primary key
OR
select count(*) from table
how to check this?
Thanks,
KB
What is...
July 29, 2009 at 9:23 pm
This works OK for me.
select
datediff( m, CHARDATE, '20090630' ), *
from
dbo.ComputeScalarProblem
where
...
July 29, 2009 at 10:33 am
At a former job, I requested purchasing to find me a chair that was built to take a lot more abuse because I had managed to wear out 2 chairs...
July 29, 2009 at 9:37 am
You can use the ROBOCOPY command in a job to mirror the backup directory to another server.
ROBOCOPY is a command line tool available as part of the Windows Server 2003...
July 28, 2009 at 5:52 pm
It is possible to do a cursor loop with only a single fetch:
declare Cur_Cursor cursor local
for
select
MyData
from
...
July 28, 2009 at 8:15 am
Can you explain what you are trying to do? Are you trying to add leading zeros or remove leading zeros?
July 27, 2009 at 9:35 am
Just take the database offline before starting the restore:
use master
alter database MyDatabase set offline with rollback immediate
July 23, 2009 at 2:10 pm
Lynn Pettis (7/23/2009)
head_contusion (7/23/2009)
Second, when an issue is solved, how do I mark the issue as closed/solved?
You don't here on SSC. Many in this community believe that...
July 23, 2009 at 1:53 pm
Service_Tag like
'[0-9A-HJ-NP-Z][0-9A-HJ-NP-Z][0-9A-HJ-NP-Z][0-9A-HJ-NP-Z][0-9A-HJ-NP-Z][0-9A-HJ-NP-Z][0-9A-HJ-NP-Z]'
July 23, 2009 at 10:35 am
Run the script on the link below to see how much used and free space you have in each database file, and to see how much space is used by...
July 23, 2009 at 9:57 am
This is a farily simple method:
declare @files table (cmdout nvarchar(100) )
insert into @files ( cmdout )
-- Get filenames excluding directories
exec master.dbo.xp_cmdshell 'dir C:\ /b /a:-d'
select cmdout from @files where cmdout...
July 22, 2009 at 8:57 am
Viewing 15 posts - 1,696 through 1,710 (of 3,011 total)