Viewing 15 posts - 3,721 through 3,735 (of 13,469 total)
per Brians request, here's a parameterized stored proc using the logic i posted above;
there's some cleanup that should be introduced where im arbitrarily doing a REPLACE of vbLf with...
April 8, 2013 at 8:55 am
i would call SSMS a developer tool, and don't think it's really a tool for end users to be working with; it doesn't have any place like Access does to...
April 8, 2013 at 8:32 am
brian wow it's been a while since i saw this thread.
Today, I actually do the same with regular expressions and a CLR; if that's an option, let me know and...
April 8, 2013 at 8:08 am
Krishna1 (4/8/2013)
in the select query i want all the developners to access it in the query as
select customercode, customername
from mycstomer
instead of
select col1,...
April 8, 2013 at 7:48 am
As far as i know, a SYNONYM must point to an object, that is, something that exists in sys.objects. that's typically, a table/view/procedure/function, but could technically be anything that exists...
April 8, 2013 at 6:11 am
i think you can streamline it a bit by using a neat technique using SUM(CASE..)
SELECT
SUM(CASE WHEN SALARY BETWEEN 10000 AND 20000 THEN 1 ELSE 0 END) As Range1,
SUM(CASE...
April 5, 2013 at 2:40 pm
it might not be obvious;
for example, if it's a windows account, ie mydomain\lowell has too much access, it's probably because i'm in a windows group
that has direct or implied access
SQL...
April 5, 2013 at 2:34 pm
it sounds like the user in question has a LOGIN which was granted sysadmin privileges.
i don't have QA available for SQL2000 anymore, but you can go to the properties of...
April 5, 2013 at 1:45 pm
i'm not clear ont he question, i may be reading it too fast.
if the question is "how do I execute a stored procedure via OPENQUERY,a dn capture the results, the...
April 5, 2013 at 12:22 pm
DDL only, or DDL and also the data?
if it's just the DDL , i'd use the SSMS scripting wizard.
IN SSMS Object Explorer,
Right Click on a specific database.
Click Tasks>> Generate...
April 5, 2013 at 12:06 pm
adinica (4/5/2013)
April 5, 2013 at 12:00 pm
if you create a permanent or temp table that has the shape of the data, you can insert into it;
a rough example, but it works on my side, assuming the...
April 5, 2013 at 11:35 am
i think the OP should probably just convert the time to seconds, and use DATEADD whenever he needs to fiddle with the values.
at least , as an integer, you could...
April 5, 2013 at 11:27 am
David McKinney (4/5/2013)
Your confusion is understandable...it's actually called [sp_fulltext_catalog] (without the s).
doh! now i see it!
i just peeked at my other instances, and the same code is in 2008R2 and...
April 5, 2013 at 9:37 am
Viewing 15 posts - 3,721 through 3,735 (of 13,469 total)