Viewing 15 posts - 2,371 through 2,385 (of 3,011 total)
Date range queries should always be in the form of:
Where MyDate >= StartofRange and MyDate < EndOfRange
Using a function call against a datetime column uses more resources because it has...
April 7, 2008 at 12:19 pm
Sometimes you just have to do the work. You can write a script against information_schema.columns to generate the code you need.
The following is the general logic you need to...
April 7, 2008 at 9:53 am
Imke Cronje (4/7/2008)
Do you perhaps have a script that will update all the tables at once and not one by one
No, but it should be easy enough for you to...
April 7, 2008 at 9:36 am
You can use the sp_rename stored procedure.
April 7, 2008 at 8:39 am
You can use the script on the link below to shrink your database data file in small increments. It will take a while to shrink it, but it will...
April 7, 2008 at 8:30 am
The software version is recorded in the database backup file.
You can display it with this command. Look for the following columns:
SoftwareVersionMajor
SoftwareVersionMinor
SoftwareVersionBuild
restore HeaderOnly
from disk = 'X:\MSSQL\backup\msdb_db_200804061122.BAK'
April 7, 2008 at 7:52 am
The issue of scaling out was solved years ago by DEC with VMS clusters and the RDB database (RDB is now owned by Oracle and VMS is owned by HP)....
April 4, 2008 at 3:31 pm
This is a much simpler way to get everyone out of the database:
-- Get rid of all DB users
use master
alter database MyDatabase set offline with rollback immediate
-- Bring DB...
April 4, 2008 at 2:56 pm
April 3, 2008 at 3:49 pm
SteveH2455 (4/3/2008)
...Can anyone point me in the right direction?...
Not with the information you provided.
April 3, 2008 at 3:19 pm
In practice, it is quite rare for even the most incompetent doctor, lawyer, or engineer to lose their license, unless they commit a crime. Their professional standards serve chiefly...
April 3, 2008 at 3:05 pm
Use an actual join condition in your join:
select
b.emp_nbr,
a.begin_rng,
a.end_rng
from
range a
join
emp b
on b.emp_nbr between a.begin_rng and a.end_rng
April 3, 2008 at 1:09 pm
How many would you estimate meet both conditions?
April 3, 2008 at 12:52 pm
You heard it first here: Intel's next generation processor will have SQL Server 2008 on the chip.
I have also heard rumors of a port of SQL Server to the Sony...
April 3, 2008 at 12:44 pm
How many rows in your table would you estimate meet the following condition?
where ID = 1 and ID != 1
April 3, 2008 at 12:35 pm
Viewing 15 posts - 2,371 through 2,385 (of 3,011 total)