Viewing 15 posts - 6,961 through 6,975 (of 13,460 total)
Sachin Nandanwar (8/12/2011)
But I was thinking of a scenario where there are 10 users and all these 10 users have different set of permissions where in by no 2 users...
Lowell
August 12, 2011 at 5:35 am
you mean besides Books Online?
http://msdn.microsoft.com/en-us/library/ms162802.aspx
from my snippets:
EXECUTE master.dbo.xp_cmdshell 'sqlcmd -Q "SELECT * FROM AdventureWorks.Person.Contact" -o MyOutput.txt'
EXECUTE master.dbo.xp_cmdshell 'bcp "SELECT FirstName, LastName FROM AdventureWorks.Person.Contact ORDER BY LastName, Firstname" queryout Contacts.txt -c...
Lowell
August 11, 2011 at 11:06 am
of the 273 future keywords on that list, 78 of them appear with syntax highlighting in SSMS 2008...and many of them are what i'd consider reserved words....datatypes like int and...
Lowell
August 11, 2011 at 11:03 am
.NET has a bulkCopy object you can use.
you need to read the data into a datatable first, and like bcp, the table has to exist as well.
here's a translated from...
Lowell
August 11, 2011 at 9:26 am
what you are seeing is how NULss are treated;
they are undefined, so you cannot compare them;
you need to handle the NULL values logiclaly, like with an isnull
or in...
Lowell
August 11, 2011 at 8:45 am
SQL is a little different when it comes to CASE statements.a case statement returns a VALUE. it's only used for data elements.
if you need to do a logical decision, you...
Lowell
August 10, 2011 at 11:24 am
restore the database to a point prior to when the developer entered the data? or delete the data as he surmised?
that's the onyl two things i can think of.
Lowell
August 10, 2011 at 9:44 am
My firend Remi schooled me on a trigger post a long time ago that dbcc inputbuffer now returns an Nvarchar(4000), and not 255 that i had assumed was still true...
Lowell
August 10, 2011 at 5:58 am
row number is very handy for getting data like you are asking...this is a wild guess to get you started, it might or might not be right, but is a...
Lowell
August 9, 2011 at 2:02 pm
ulisseslourenco (8/9/2011)
GSquared (8/9/2011)
You can use DDL triggers to fire on creation of a procedure. They can check values in tables. Will that do what you need?
In fact I...
Lowell
August 9, 2011 at 12:28 pm
no the task scheduler has an option to repeat multiple times:
you have to dig intot eh details just a little here:

Lowell
August 9, 2011 at 9:31 am
ok i see there is a RID Lookup on the Company Table, which is a Heap, that seems to be something to address, I'm going to sit back and learn...
Lowell
August 9, 2011 at 9:00 am
well, i'm pretty sure statistics need to be updated; we've got a couple of orders of magnitude off on the estimated vs actual on two of the index seeks:
i don't...
Lowell
August 9, 2011 at 8:55 am
the errors pretty straight forward, i think:
The specified string is not in the form required for an e-mail address
you probably have an exchange server, and in the From Address of...
Lowell
August 9, 2011 at 7:29 am
Frank Cazabon (8/9/2011)
Lowell
August 9, 2011 at 6:59 am
Viewing 15 posts - 6,961 through 6,975 (of 13,460 total)