Viewing 15 posts - 8,296 through 8,310 (of 13,460 total)
there are a number of threads here on SSC on this basic issue; it has to do with running out of memory;
there's not a lot you can do other than...
Lowell
December 13, 2010 at 8:03 am
this article from Microsoft is what i have saved to get the list via PowerShell: I had this saved in my snippets, and the code I saved is unchanged from...
Lowell
December 13, 2010 at 5:42 am
there is a technique for using dateadd/datediff together to get the starting date/time for any given period..year,month,week, even hour.
here's an example, giving you the begin hour and that same hour...
Lowell
December 13, 2010 at 5:32 am
i have this saved in my snippets;
it's from a real comprehensive thread here:
http://www.sqlservercentral.com/Forums/Topic340912-146-1.aspx
it's a stored procedure someone contributed to help set up a mysql linked server, along with...
Lowell
December 11, 2010 at 12:29 pm
Malcolm Daughtree (12/10/2010)
Lowell
December 11, 2010 at 6:57 am
vbradham (12/9/2010)
Leave the error checking aside, I...
Lowell
December 10, 2010 at 1:42 pm
excel automation is tough sometimes.
i'm pretty sure the issue is the first time a user runs Excel, a dialog comes up asking for your initials. I think the initials are...
Lowell
December 10, 2010 at 9:11 am
AFAIK, varchars under (8000) chars are handled the same; no performance difference when they are included with the rest of the data you are selecting...unless you are SEARCHING tha...
Lowell
December 10, 2010 at 9:00 am
the default Express does not include SSMS; you need the "2008 with Advanced Services"
install that, and you'll have the "Express" version of SSMS; it doesn't allow you to open anything...
Lowell
December 9, 2010 at 3:31 pm
it depends on what you mean.
access and rights to objects are tied to a login.
if you give me a login, i can use any application i want to...
Lowell
December 9, 2010 at 1:52 pm
ramadesai108 (12/9/2010)
but that does not give me database name.
you forgot how the proc works! the question mark is substituted with the dbname!
db_name() function will keep returning master or whatever db...
Lowell
December 9, 2010 at 1:41 pm
the OBJECT_NAME function has a second , optional parameter for the db_id for exactly this reason;
this works in 2005 and above;
sp_msforeachdb '
select
object_name(s.object_id,db_id(''?'')),
s.*, p.*
from ?.sys.sql_modules s
...
Lowell
December 9, 2010 at 12:25 pm
As long as you are working with real date or datetime variables, SQL has a suite of built in functions to get the pieces you are after:
/*--results
MO ...
Lowell
December 9, 2010 at 9:39 am
Megistal (12/9/2010)
can SSRS r2 calling a procedure like this?:
CREATE...
Lowell
December 9, 2010 at 8:48 am
that's the database you want to connect to.
The name "Initial Catalog" implies that you can switch to other databases after the connection, and your SQL commands could use use 3...
Lowell
December 9, 2010 at 8:05 am
Viewing 15 posts - 8,296 through 8,310 (of 13,460 total)