Viewing 15 posts - 8,821 through 8,835 (of 13,459 total)
why are you using a GETNEWKEY functionality to generate a number for your PK column instead of allowing an identity column to generate the value for you? the identity property...
Lowell
September 3, 2010 at 3:48 am
it's fairly easy; you just need to add a linked server, and then select using 4 part naming conventions:
EXEC master.dbo.sp_addlinkedserver @server = N'ANOTHERSERVER\INSTANCENAME', @srvproduct=N'SQL Server'
EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname = N'ANOTHERSERVER\INSTANCENAME', @locallogin...
Lowell
September 2, 2010 at 8:09 am
crap someone else asked this exact same question a while ago and i answered it;
is this a homework question?
http://www.sqlservercentral.com/Forums/Topic968341-131-1.aspx
Lowell
September 2, 2010 at 7:05 am
SQL Server thinks of arrays as tables, so it doesn't have an array data type....
to decode a string from a delimited list to a table, you can use one of...
Lowell
September 2, 2010 at 5:51 am
it depends on the job. way to many reasons to fail.
a job can be poorly written, try to access databases or database objects that don't exist(anymore? maybe someone dropped a...
Lowell
September 2, 2010 at 5:34 am
it's possible, but let me explain the pitfalls.
once i have a username and password with access to a database, i can use any application to get there...SSMS, a program i...
Lowell
September 2, 2010 at 4:56 am
for me, the master database doesn't have anything of interest besides logins;
i would restore a master database as a user db so i could extract logins, if they were...
Lowell
September 1, 2010 at 11:36 am
cycles through each field
Without looking at your trigger, I'm thinking there may be a better or faster way to do whatever you are doing in your trigger;
if your trigger...
Lowell
September 1, 2010 at 4:50 am
the database engine and a lot of the support files must be installed on the %system% drive; after installation, you can move all the mdf/ldf files(alter database with move )...
Lowell
September 1, 2010 at 4:45 am
jesuslives01 (8/31/2010)
Thanks but that gives me an error pointing to the last dirmsarf2:Incorrect syntax near 'dirmsarf2'.
well, what is the name of the table inside the foxpro database? is it dirmsarf,...
Lowell
August 31, 2010 at 1:01 pm
yes that was what i was refering to, i could/should have been more precise, sorry;
with a COUNT, the OutputList has no values, select a field instead to see stuff in...
Lowell
August 31, 2010 at 9:59 am
believe it or not, NOT declaring objects with 4 part naming actually increases the overhead, admittedly by a very very tiny bit; The SQL Engine has to lookup (or infer)...
Lowell
August 31, 2010 at 9:31 am
Mr.SQL DBA (8/31/2010)
From the front end application a numeric value of 10 digits with datatype varchar(max) ex:9247497829 like Phone Number
is entered by the front end user and is...
Lowell
August 31, 2010 at 7:15 am
you might be able to add a job which checks for new entries in the view on an hourly basis or something, and have that job insert the new data;
but...
Lowell
August 31, 2010 at 7:07 am
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
Viewing 15 posts - 8,821 through 8,835 (of 13,459 total)