Viewing 15 posts - 11,746 through 11,760 (of 13,469 total)
hopefully, this is not homework, because if you submit this as your answer, and can't explain what it does, you'll get burned.
FOR XML has a neat way of getting values...
January 20, 2009 at 8:45 pm
i suspect it has something to do with being loos-goosy on your varbinary and varchar sizes:
DECLARE @prize_encrypt VARBINARY(256)
Set @prize_encrypt = EncryptByPassphrase(@pass,Cast(@prize_id as varbinary))
you try to use a varbinary(256 in one...
January 20, 2009 at 8:30 pm
don't crosspost. you only need to ask once, the Newest Posts feature lets us see everything. asking the same question multiple places wastes posters time and fractures the continuity of...
January 20, 2009 at 8:25 pm
don't crosspost. you only need to ask once, the Newest Posts feature lets us see everything. asking the same question multiple places wastes posters time and fractures the continuity of...
January 20, 2009 at 8:25 pm
if this only happened once, i'd lean towards a minor intermittent network error:[DBNETLIB][ConnectionWrite (send()).]General network error.
if it's happening everytime or a lot, then
I found a lot of really good information...
January 20, 2009 at 8:16 pm
in general, you'll see two ways to do this.
you can use a
SELECT * FROM TABLE1 WHERE [Client ID] in (SELECT [Client ID] FROM TABLE2 WHERE Trading_Code IN('ZBwhatever') )
or you...
January 20, 2009 at 8:14 am
i misread the original post;
here's a sample from my snippets where someone wanted a unique alphanumeric, in order, ie AAA001 thru ZZZ999;
the nubmer gets generated based on an identity.you could...
January 20, 2009 at 6:21 am
how about an Identity using a bigint column that starts with the first 16 digit number ?
create table #example( bigintID bigint identity(1000000000000000,1) primary key,
morestuff varchar(30) )
also why must it be...
January 20, 2009 at 6:15 am
remember SQL encryption is not all that strong, even in 2005, a simple Google search will allow anyone that can run a TSQL script see the un-encrypted text of something...
January 19, 2009 at 10:41 am
clearly any data without an arbitrary number next to it is worthless! everyone knows that! how else do you know who's number 1, or to give a goals to numbers...
January 16, 2009 at 2:36 pm
two things i think, but i could't get mine to work yet either.
4 part naming conventions are the limit.
select name FIVER.AHOG.dbo.sys.procedures is wrong
its probably FIVER.AHOG.sys.procedures not what you had....i tried...
January 16, 2009 at 11:12 am
I'm not familiar with your application, but here's a best guess: if the "files" deleted are really tables in SQL, the space isn't released unless you shrink the database.
can you...
January 16, 2009 at 10:02 am
must be an incomplete example...all your code that is commented out in your case statement returns c.SerialNumber1 NO Matter what....maybe you could show us a bit more?
Case
when a.DocumentId=...
January 16, 2009 at 8:48 am
try this; it gets the current default trace file, and gives the objects/created/altered/deleted.
this might help you:
[font="Courier New"]
-- obtain file name for Default Trace
DECLARE @TraceFileName NVARCHAR(256)
SET @TraceFileName = (SELECT path FROM sys.traces...
January 16, 2009 at 8:04 am
ok this nippet, based on using some FOR XML statements goves a SQL statement you could execute that looks like this:
SELECT * FROM MYSTAGE WHERE 1 = 2 ...
January 16, 2009 at 6:54 am
Viewing 15 posts - 11,746 through 11,760 (of 13,469 total)