Viewing 15 posts - 91 through 105 (of 276 total)
Cock on.
Okay, after I cleaned the soda out of my nose, I had to ask - was this intentional (the only reason I think it was is that...
May 23, 2008 at 11:02 am
BOL search for sysjobhistory will tell you this as well:
May 14, 2008 at 8:38 am
in your script you had
- Not tested for multiple ndfs (currently working for this 1)
listed as a limitation - have you progressed with this at all?
May 9, 2008 at 10:51 am
Bravo - Very good article. It is bookmarked and printed.
May 7, 2008 at 6:44 am
As long as the DB is in full recovery mode, the log file will stay that size (and more) until a full backup has completed...
You could also change the recovery...
May 5, 2008 at 8:59 am
declare
@cmd nvarchar(2000),
@StoreProcedureName varchar(30),
@theDDL varchar(10),
@ParameterName varchar(30),
@tablename varchar(50),
@therows varchar(160),
@thesource varchar(30),
@filename varchar(30)
set @StoreProcedureName = 'spExecute_ADODB_SQL '
set @theDDL = '@DDL'
set @ParameterName = '''Create Table '
set @tablename = CONVERT(VARCHAR(8),GetDate(),112)
set @therows = '(dbid Text, id...
April 29, 2008 at 12:10 pm
You may need to create the SQL Statement and the execute it with EXEC sp_executesql
April 25, 2008 at 1:37 pm
My bad - I guess I did not read it all - however, the same idea should work:
CREATE PROCEDURE spExecute_ADODB_SQL
@DDL VARCHAR(2000),
@DataSource VARCHAR(100),
@Worksheet VARCHAR(100)=NULL,
@ConnectionString VARCHAR(255)
...
April 24, 2008 at 12:10 pm
this is untested but:
CREATE PROCEDURE spExecute_ADODB_SQL
@DDL VARCHAR(2000),
@DataSource VARCHAR(100),
@Worksheet VARCHAR(100)=NULL,
@ConnectionString VARCHAR(255)
= 'Provider=Microsoft.Jet.OLEDB.4.0;
Data Source=%DataSource;
Extended Properties=Excel 8.0'
AS
DECLARE
@objExcel INT,
...
@filename varchar(100)
...
set @filename...
April 24, 2008 at 11:49 am
steveb (4/24/2008)
COALESCE is the ANSI compliant way, and offers multiple alternate values is null.ISNULL is arguably very slightly faster
Thanks! I thought that was the case - that was how...
April 24, 2008 at 8:36 am
another option, however I think I read that coalese is the preferred way...Can anyone confirm that?
SELECT RTRIM(LTRIM(ISNULL(Last_Name, '') + ' ' + ISNULL(FIRST_Name, '') + ' ' + ISNULL(Middle_Name,...
April 24, 2008 at 8:30 am
I have not actually done it, but it sounds to me that this may be more a job for Replication...?
April 18, 2008 at 12:13 pm
are you asking how to join two tables? Lookup Join in BOL
April 14, 2008 at 1:18 pm
Matt Miller (4/14/2008)
Simply ordering by the datetime field itself and not the "display version" would get your data in the right order.
I had tried that, and when I do, I...
April 14, 2008 at 9:24 am
individual Table restores are not possible yet. An option is to restore the DB to a new name or server, and then copy the table(s) needed back to the...
April 11, 2008 at 8:52 pm
Viewing 15 posts - 91 through 105 (of 276 total)