Viewing 15 posts - 7,921 through 7,935 (of 13,460 total)
my crappy pseudo code construction was off for the case statement Sean; i meant show what this example does: chop up a single field into 3 seperate fields wit the...
March 16, 2011 at 9:45 am
is there an index on the [qm_entry_dt] column on table [tblQuoteMain]?
March 16, 2011 at 9:34 am
my knee jerk reaction is to use a table value function to get whatever data you need;
for now lets see if a slightly different scalar function will work.
first thing i'd...
March 16, 2011 at 9:25 am
well lets start with the basics; are you sure you are connecting at all? can you select @@version from vb?
could you be connecting to MASTER, adn thinking you'll see tables...
March 16, 2011 at 9:13 am
Lynn Pettis (3/16/2011)
What you need is a delimited string parse function. Do a search...
March 16, 2011 at 7:54 am
great question.
this book references says that some additional logging information is stored inside the page, and as a result, that makes the max size 8060:
March 15, 2011 at 7:30 pm
i just tried to run the code in a database that is set at compatibility level 80 and it fails with that syntax check; in 90 or 100 it goes...
March 15, 2011 at 6:58 pm
ig you know it was a misspelling, where every # should have been the letter i or something, you could script all the commands together, or use this a s...
March 15, 2011 at 2:58 pm
tripri (3/15/2011)
March 15, 2011 at 2:52 pm
I think it's going to look something like this: I'd ratehr see some sample data so we know it's working, but here is my best guess:
UPDATE A
SET A.ID ...
March 15, 2011 at 12:17 pm
steveb's on the right track. DDL statements that create table and objects would take no time at all...but if you have 40K lines if INSERT INTO....statements
that is what is...
March 15, 2011 at 9:56 am
sp_help [tablename] is the fastest; it identifies all indexes and their columns on the table in question.
i've got a script that scripts out all columns and their includes as well,...
March 15, 2011 at 9:18 am
i suspect that instead of using a column with the identity() property, he's using a stored procedure to generate a sequence , and using the results of that...
March 15, 2011 at 7:47 am
example:
/*
(No column name)(No column name)(No column name)(No column name)
a97aa
*/
DECLARE @nc NCHAR(1)
SET @nc = N'a'
select
N'a',
ASCII('a'),
CONVERT(CHAR(1),(@nc)),
CONVERT(NCHAR(1),(@nc))
March 15, 2011 at 6:44 am
Brent Ozar's Blitz script has a snippet that does what you are looking for: finds any database that is in FULL recovery mode, but no transaction Log backup exists.
As Grant...
March 15, 2011 at 6:21 am
Viewing 15 posts - 7,921 through 7,935 (of 13,460 total)