Viewing 15 posts - 61 through 75 (of 89 total)
If I understand you here, you want to update a single row in a table, but you only want to change certain fields, and the fields that you want to...
June 20, 2003 at 6:07 am
Thanks for your reply.
Having thought about it some more, I guess that separating the boxes makes the SQL Server machine less susceptible to *automated* attacks (simply because there would be...
June 20, 2003 at 5:56 am
I enjoyed your article and am in agreement with most of your points. However I also think there are cases when it is OK to run IIS and SQL Server...
June 20, 2003 at 4:06 am
or to put it another way ...
1) The code you posted won't work if @dbName is a varchar (if that is what you are doing)
2) i *think* that if you...
June 19, 2003 at 1:10 pm
Does my suggestion not work or are you asking another question?
June 19, 2003 at 12:55 pm
How about this (ker-lunk!)
declare @dbname as varchar(100)
declare @strSQL as varchar(100)
declare @strSQLCommand as varchar(100)
set @strSQLCommand='exec sp_adduser ''Victoria'', ''Victoria'', ''db_owner'''
set @dbname='Whatever'
-- your db loop here
set @strsql='USE ' + @dbName + '; '...
June 19, 2003 at 11:06 am
>>The limitation is, it mandates the use of stored procedure in all sqls and scripts
>>accessing the data
Can't see this myself but no matter.
>>Have a good one.
Thanks. You too...
June 19, 2003 at 10:30 am
The test code (I'm sure someone can find a problem with this 🙂 )
------------------------
CREATE PROCEDURE up_TestSpeed
AS
declare @PacksPerBox tinyint
declare @decBoxsize decimal(5,2)
declare @intBoxsize int
declare @packsize smallint
declare @dteTimer as datetime
declare...
June 19, 2003 at 9:39 am
Look back at the original post. The number of items are represented as dozens (12's), e.g.
1.04=16
That means (1 * 12) + (10 * 0.4) = 16
If you decide to...
June 19, 2003 at 9:38 am
>>I think, storing it as integer in such manner might not be a good idea.
>>It will pose limitations on all scripts and sqls.
Can you give an example?
In this...
June 19, 2003 at 7:17 am
Or you could store it as an int with an implicit decimal point,
eg 1=1, 11=11, 100=12, 200=24 etc.
June 13, 2003 at 4:53 am
I was mulling this one too ...
I've got a master database which is replicated to a webserver (scheduled transactional). The database on the webserver is effectively read only -...
June 13, 2003 at 4:28 am
Fully in agreement with bkelley - good points precisely expressed as usual.
In case it is of interest to anyone, I ended up using ethereal (www.ethereal.com) a free packet sniffer for...
March 26, 2003 at 5:49 am
Thanks everybody.
Great info and excellent TDS resource.
March 24, 2003 at 4:21 am
Viewing 15 posts - 61 through 75 (of 89 total)