Viewing 15 posts - 13,171 through 13,185 (of 13,463 total)
additionally, even though two connections might create a temp table witht he same name, #temp, they are actually stored as two different sysobjects in the tempdb database;
here's an example for...
January 12, 2006 at 8:18 am
the case returns one of two values, 0 or the calculation.
you could replace it with the same functionality:
column1=isnull(SUM(ABS(t.Amount)*c.CalcInvestedAmount) ,0)
a little less verbose, but with the same results.
December 23, 2005 at 2:04 pm
here's a real basic example from vb6: hope it helps. you don't save the file in any format...you actually save the file, in binary format, within the database using the...
December 23, 2005 at 11:02 am
it pretty much cannot be done.
the FOR XML returns a stream to a dataset or recordset, adn not an standard object in SQL server, so you cannot capture the data,...
December 23, 2005 at 10:53 am
someone created a script here on SSC which creates HTML documentation of a database and it's schema;
it produces results in HTMl, and a google search showed me a lot of...
December 23, 2005 at 6:51 am
you can get that value by running DBCC USEROPTIONS
set rowcount 50
DBCC USEROPTIONS
| textsize | 64512 |
December 22, 2005 at 1:33 pm
vb6 cannot build any dll that can be used as an extended stored proc; you have to do it in C/C++/Delphi or any .NET language.
VB6 can't do it because for...
December 21, 2005 at 6:14 am
when you did the manual backup on Saturday 4pm, could it be that the backup was set to the default of "append to existing media"?
in that case, the backup file...
December 21, 2005 at 6:10 am
i stick this in master and use the command sp_kill dbname to kick my users out:
what is nice is that when called in a job or script, it is not...
December 20, 2005 at 6:35 am
i would bet it's the SET NOCOUNT ON thing; the adodb recordset can get the 12 records(s) affected as the recordset to return, unless you explicily say set nocount:
ALTER...
December 17, 2005 at 10:16 pm
you should be able to use regualr expressions to strip out either rtf or html;
you can do it within an app or client side in vb or .net, but for...
December 9, 2005 at 8:20 am
if you switch to HTML view in the textbox where you type your comments, you'll see that when typing directly into textarea, the ENTER key ends up creating a <P>...
December 8, 2005 at 11:14 am
i would suggest some of the utilities from Redgate or idera that can present all changes in script format by reading the transaction logs.
it's full featured and would probably cost...
December 5, 2005 at 1:49 pm
can't you still use the standard driver for SQl server to connect to a SQL 2005 database?
December 1, 2005 at 8:11 am
indexes are used by the server to find data faster.
I doubt you might want the server to get the data slower or less efficiently.
in a complex query, you might add...
December 1, 2005 at 6:59 am
Viewing 15 posts - 13,171 through 13,185 (of 13,463 total)