Viewing 15 posts - 13,246 through 13,260 (of 13,456 total)
ok i just found an example on another forum that might help:
BEGIN
DECLARE @object int
DECLARE @hr int
DECLARE @out varchar(8000)
-- Create an...
September 20, 2005 at 7:17 am
i've used a quick and dirty vb app that has a RichTextBox control on it. it has a single function; I pass it an ADODB.Field, which it places int eh...
September 20, 2005 at 7:08 am
sounds like yet another outsourcing to India to save money ![]()
September 20, 2005 at 6:56 am
i typically use a char(1) with a check constraint to allow only two values:
ie ALTER TABLE BLAH ADD GENDER CHAR(1) NULL CHECK (GENDER='M' OR GENDER='F')
September 16, 2005 at 6:21 am
I've seen this error in ADO when you stick a string into a varchar that is smaller than the string...ie sticka 30 character string into a varchar(20), and the ADO...
September 16, 2005 at 6:10 am
The magic tables are the virtual tables available in a trigger:
ie the [INSERTED] and [DELETED] tables, which can be referenced within a trigger so that you can add additional logic...
September 14, 2005 at 8:06 am
i would do this with three tables: as new/differet items are added, if they cannot use an existing attribute to describe them, it is added to the lookup table.
A similar...
September 13, 2005 at 2:09 pm
could you have an uncommitted transaction that was created during testing, but never committed or rolled back?
September 13, 2005 at 12:05 pm
in a nutshell, yes; you can change anything dynamically.
see sp_dboption in the BOL; also look in master and look at any of the stored frocs that start with sp_db or...
September 13, 2005 at 10:01 am
while the table definition doesn't allow variables, the DBCC command to change the starting value does:
declare @C1 int
set @c1=99
create table #sometable(id1 int IDENTITY(1, 1))
DBCC CHECKIDENT( [#sometable],RESEED,@c1)
September 13, 2005 at 9:50 am
this might help: i believe that error Operating system error 21(The device is not ready.) encountered. means that the path to the device(in this case a log file) does not...
September 13, 2005 at 6:22 am
see http://www.sqlservercentral.com/scripts/contributions/610.asp for the stored procs:
create table ExampleTbl(Operator int , Password varchar(40) , AR varchar(40) )
insert into ExampleTbl(operator,password,ar) values (1,dbo.RC4('realpass','seedstring'),'x')
select Operator,dbo.RC4(password,'seedstring'),ar from ExampleTbl where Operator=1
select Operator,dbo.RC4(password,'wrongstring'),ar from ExampleTbl where...
September 12, 2005 at 1:38 pm
i'd like to see the code of the job step, but i bet this will get you going in the right direction:
Perform an action when a file exisits
That's the...
September 12, 2005 at 1:08 pm
either access the page via http://localhost to see the real .NET error, or do exactly what the error message tells you to do...change web.config to have customErrors mode="Off"
when customErrors...
September 12, 2005 at 12:38 pm
cant you just check for the existance of the file, or that the filesize is > 8 bytes or something before PKZIP is called?
if the file doesn't exist or meet...
September 12, 2005 at 12:36 pm
Viewing 15 posts - 13,246 through 13,260 (of 13,456 total)