Viewing 15 posts - 6,736 through 6,750 (of 13,469 total)
you could also use three part naming, and not use the USE command at all:
select * from test.dbo.sysobjects where xtype='u'
--or
select * from test.sys.tables
September 21, 2011 at 6:21 am
Connection.Execute(sqlStatement) optionally returns a dataset. use that to get uthe update and the results in one pass.
i would use a two statement combo like this:
dim Conn ' As Object
set Conn...
September 21, 2011 at 6:15 am
Ninja's_RGR'us (9/20/2011)
Sean Lange (9/20/2011)
Which when I first read it i transposed the U and L in the second...
September 20, 2011 at 7:37 pm
you have to create a table that mirros teh output of the proc you want to capture...
here's a basic example, just grabbing sp_who2 results:
CREATE PROCEDURE PR_CAPTURESP_WHO
AS
BEGIN
SET NOCOUNT ON
...
September 20, 2011 at 2:26 pm
17 minutes or 1.5 hours sounds a lot more like a performance issue rather than than an ITVF issue;
consider updating statistics (UPDATE STATISTICS ON TBLNAME WITH FULLSCAN) for each...
September 20, 2011 at 2:23 pm
ok here's an enhanced version of a parsename function, which takes any number of items, and an optional delimiter to boot:
i think this is from a Jeff Moden post ....
--usage:
with...
September 20, 2011 at 12:17 pm
i believe this will do what you want...obviously test this first!
--random first land last names,
;With MyRandomNamePairs AS
( SELECT
ROW_NUMBER() OVER(ORDER BY Surname.ID) AS N,
...
September 20, 2011 at 10:27 am
hydbadrose (9/20/2011)
For Project_Item 1.1.A I was thinking to use float.
[1.1.A]
it has two periods and the letter "A" in it...it would have to be a varchar.
September 20, 2011 at 10:01 am
One of our developers started down that same road, because we had so many users familiar with Excel, but we ended up switching to a web page instead;
we had...
September 20, 2011 at 8:38 am
stop the SQL service on the Active node....
September 20, 2011 at 7:58 am
that "burst" keyword your using is throwing me off...i'm not sure what you mean.
you can use a "Tally" or "Numbers" table (search here on SSC) to cross join as many...
September 20, 2011 at 7:24 am
you can use sp_fkeys [ParentTable] to generate a list of child table references;
from there you can use that list to script your merge statements...does that help?
September 20, 2011 at 6:58 am
from the link that was posted, i also noticed you cannot use SQLMail with 64 bit SQL.
it's kind of hard to not use 64 bit with anything that's reasonably new...
September 20, 2011 at 6:08 am
this link shows how to make a linked server to a PROGRESS database:
from there, it's a matter of the linked server calls via 4 part naming conventions:
select * from lsProgress..Database1.Table1
select...
September 20, 2011 at 6:06 am
vinaseetha87 (9/20/2011)
I want to read the inbox message ,that message how...
September 20, 2011 at 4:37 am
Viewing 15 posts - 6,736 through 6,750 (of 13,469 total)