Viewing 15 posts - 826 through 840 (of 907 total)
The max database size is 1,048,516 TB Cubed
This information can be found in BOL under "Maximum Capacity Specifications"
-------------------------
Gregory Larsen, DBA
If you looking for SQL Server Examples check out my website...
September 12, 2002 at 2:59 pm
What release of SQL Server do you have on your client machine? I don't suppose you have a newer release of SQL server on your client, then on your...
September 12, 2002 at 2:42 pm
Here is one way if you have the field that contains non-numberic data in a local variable. Isn't very short. Probably is a better method.
set @string = '2000'...
September 12, 2002 at 2:17 pm
Might look at either one of these if you want to remove all the white space between words down to a single space
http://www.geocities.com/sqlserverexamples/#string1
http://www.geocities.com/sqlserverexamples/#string2
-------------------------
Gregory Larsen, DBA
If you looking for SQL Server...
September 12, 2002 at 1:25 pm
quote:
Use the REPLACE() function on the column name - arguments are: column name, string to search for, string to replace with):declare @string...
September 12, 2002 at 1:24 pm
quote:
Use the REPLACE() function on the column name - arguments are: column name, string to search for, string to replace with):declare @string...
September 12, 2002 at 1:23 pm
Ooops. Clicked "Post New Reply" before I typed anything. Here is what I was thinking.
1) Have you looked at the execution plan to determine where you...
September 12, 2002 at 10:25 am
quote:
OopsThat should read 32 1/2 million rows
-------------------------
Gregory Larsen, DBA
If you looking for SQL Server...
September 12, 2002 at 10:20 am
When you manually run the DTS package it run under the security context of your current SQL Server connection/client machine. When you run the job under SQL Server Agent...
September 12, 2002 at 10:09 am
Here this might give you some ideas:
Create table #email (
email varchar(100))
insert into #email values ('rrrrrr@something.com')
insert into #email values ('eeeeee@something.com')
insert into #email values ('ppppp@something.com')
insert into #email values ('llll@something.com')
insert into #email values...
September 12, 2002 at 8:20 am
Here is an example of some code for the hack Andy was talking about.....
Create proc x
@rs cursor varying output
as
set @rs = cursor for select name from sysobjects
open @rs
go
-- to...
September 11, 2002 at 4:02 pm
Well now you are asking a different question.
If you have not changed the name of the server since installation of SQL Server, or used sp_addserver to change the name you...
September 11, 2002 at 1:33 pm
Never could get the 'out of range' message. Here are a couple of date selection examples that might help.
CREATE TABLE #TEMP (
DATE_CLOSED_DATE CHAR(12))
INSERT INTO #TEMP VALUES ('2002-09-11')
INSERT INTO #TEMP...
September 11, 2002 at 1:13 pm
Here I took your sample code, and put some other code around it as a working sample. How does this code differ from yours?
create table mytable (
id int,
name char(10),
date...
September 11, 2002 at 12:33 pm
Something like this will work:
create table #tmp_t (
[Server Net Name] varchar(1024)
)
insert into #tmp_t exec('master.dbo.xp_getnetname')
declare @netname varchar(1024)
select @netname = [Server Net Name] from #tmp_t
print @netname
drop table #tmp_t
-------------------------
Gregory Larsen, DBA
If...
September 11, 2002 at 12:14 pm
Viewing 15 posts - 826 through 840 (of 907 total)