Viewing 15 posts - 31 through 45 (of 66 total)
Control-of-Flow Language is the section that refers to the Case statement.
And yes I know that GOTO is messy but I don't think there is another way around it in this...
June 1, 2005 at 11:50 am
Yes, Yes, Yes.
I want my default to be grid and then through a command change it to text.
Steve
January 21, 2005 at 2:16 pm
Yeah I was looking for a program command like a SET command.
January 21, 2005 at 1:42 pm
It is a select with a sum and group by.
Tools-> Options are set to 4, 0, 0
'right click on the server name, select properties, tab connection, in the second square exist...
January 18, 2005 at 1:16 pm
Why did you add % 60? Second answer seems to work as expected.
Happy New Year!
Steve
December 28, 2004 at 8:25 am
Riddle me this batman...
(and no I'm not the orginator of this discussion)
What if you want the number of Seconds since some time period?
Let say you want to know the number...
December 28, 2004 at 7:59 am
Why do you want to do this? What are the requirements?
Here is a fun "Select"
SELECT DatePart(s, Getdate()), DatePart(s, Getdate()) + 1, GetDate(), DateAdd(s, 1, GetDate())
December 27, 2004 at 10:52 am
Perhaps this was too complicated. But I have created a fun APOST to add a second Apost to any string.
So O'Brien
is returned
O''Brien
Here is the code
Function funApost(X) As String
On Error GoTo...
December 20, 2004 at 12:28 pm
Back to the original comment...
What if the database is receiving 300 committed transactions per second? What if its 60K per second?
People having a large volume of transactions beleive that many...
December 14, 2004 at 11:34 am
Well we had a report from a Microsoft Conference that the number of files for transaction logs should match the number of processors on the server, thus preventing I/O contention...
December 9, 2004 at 1:09 pm
Here is the original and another method.
It works from 1743 to 9998
Steve
Declare @Year_Begin as int, @Year_End as int,
@IndependeceDay as char(10), @DayofWeek as char(10)
If...
November 5, 2004 at 11:46 am
BOL states
The ListAvailableSQLServers method returns a NameList object that enumerates network-visible instances of Microsoft® SQL Server™ 2000.
Wouldn't that make "A" the correct answer?
October 7, 2004 at 10:02 am
Here is my final SQL query that I used to get this information.
DECLARE @olddatabasename as sysname,@backuppath as NVARCHAR(4000)
SELECT @backuppath = MAX([physical_device_name]) FROM [msdb].[dbo].[backupmediafamily]
WHERE [physical_device_name] like '%' + @olddatabasename + '%'...
October 7, 2004 at 9:55 am
Thanks Peter, but it only has the .mdf and .ldf files not the location of the .BAK.
Still looking,
Steve
October 7, 2004 at 7:05 am
Viewing 15 posts - 31 through 45 (of 66 total)