Viewing 15 posts - 8,836 through 8,850 (of 13,460 total)
BOL examples show that after the connection info, you need the table to extrac t from, outside fo the parenthesis, and it appears to need 4 part naming conventions;
here'sa BOL...
Lowell
August 31, 2010 at 5:57 am
don't forget the LIKE operator can take some quasi regular expression commands to help determint ehte list:
--every proc/view/table that DOES NOT contain a number.
select * from sys.objects where name like...
Lowell
August 30, 2010 at 11:17 am
i think the rule is this:
if the calling user is NOT a sysadmin, then the proxy account is used.
if the calling user is a sysadmin, then the account being used...
Lowell
August 30, 2010 at 11:00 am
robert i'm pretty sure you have some third party object that is reformatting your SQL;
by default, SSMS is just a syntax-highlighting text editor, with no auto-reformatting as far as...
Lowell
August 30, 2010 at 10:46 am
a parameter cannot be assigned inside the calling statement; just break it up into two lines::
SET @DB = DB_NAME();
EXEC DB1.dbo.test @DB
Lowell
August 30, 2010 at 10:37 am
remember the purpose of the clustered index is to make it faster to find the data; the data does nto necessarily have to be non-unique and not auto-increasing;
does your...
Lowell
August 30, 2010 at 6:57 am
repeatedly as in within seconds of each other, or you mean you go away, come back after a bit, and get re-prompted for connection info?
if it is the second choice,...
Lowell
August 30, 2010 at 6:40 am
agnesloyola (8/30/2010)
Thank you so much Lowell.Now its working fime after using OPENQUERY.Thanks a lot 🙂
glad i could help and thanks for the feedback!
that link server behavior's a good concept...
Lowell
August 30, 2010 at 6:34 am
matthew.wilson (8/30/2010)
Sorry maybe I can be more specific
I can set the columns to datetime though I need the parameter stored in that field to be variable,...
Lowell
August 30, 2010 at 6:26 am
i think because the express edition was installed, and not a default instance, no service is there to answer a connection to 127.0.0.1.
try building a connection string to [127.0.0.1\SQLEXPRESS] instead....
Lowell
August 30, 2010 at 6:07 am
it sounds like you are trying to make one generic proc , instead of multiple procs for specific purposes.
in your table definition, your parameter column is a varchar field, but...
Lowell
August 30, 2010 at 6:02 am
this is fairly simple; are you familiar with the IF EXISTS / IF NOT EXISTS syntax?
I was going to post the whole exmaple proc, but the question struck me as...
Lowell
August 30, 2010 at 5:47 am
JblakTSql (8/30/2010)
Lowell
August 30, 2010 at 5:29 am
agnesloyola (8/30/2010)
Lowell
August 30, 2010 at 4:13 am
SQL ORACLE (8/28/2010)
When we would like to send an alert to more than one users, only the first one received the alert.
if only one of the emails got thru, it...
Lowell
August 28, 2010 at 7:36 pm
Viewing 15 posts - 8,836 through 8,850 (of 13,460 total)