Viewing 15 posts - 3,796 through 3,810 (of 13,459 total)
you'll need to insert the flat file into a staging table...the flat file doesn't contain a varbinary string, right?
so you stick it in a table of the right data type,...
Lowell
March 29, 2013 at 6:11 am
whoops i didn't read your quesiton completely. ; i was assuming a non-clustered setup;, i thought we were talking single server/3 ip's / 3 instances.
my mistake i think.
Lowell
March 28, 2013 at 2:42 pm
I think you'll have to modify each instance to listen to one IP address; then change the port on that one IP address so that it's 1433.
no instance should listen...
Lowell
March 28, 2013 at 2:40 pm
SELECT * FROM TableABC nolock
is exactly the same as
SELECT * FROM TableABC bananas
In the above, the word after the table is just an alias.
SELECT * FROM TableABC (nolock)
This is...
Lowell
March 28, 2013 at 2:22 pm
i would consider looking at whatever query the current code returns, and build a view of THAT, and fix the code to pass parameters for the WHERE clause;
there's a lot...
Lowell
March 28, 2013 at 1:51 pm
SQL is very similar, and there's two ways:
select TABLE_NAME,COLUMN_NAME from INFORMATION_SCHEMA.COLUMNS where COLUMN_NAME='POS_TRANSACTION'
--or
select OBJECT_NAME(object_id) As TableName, name As ColumnName from sys.columns where name ='POS_TRANSACTION'
Lowell
March 28, 2013 at 11:15 am
a nolock on an update is ignored anyway, so there's no advantage to adding it anyway.
only SELECT statements will honor NOLOCK, and then you get the usual possibilities about doubled/repeated...
Lowell
March 28, 2013 at 6:31 am
03sunil (3/28/2013)
We have similar kind of issue, We have 9 instances running on windows 2008 box. All are 2008 R2 instances. We have problem with only one instance.
We are not...
Lowell
March 28, 2013 at 6:15 am
your trigger is on the table TEST, but the update command is looking at a different table;
UPDATE S_ID SET STATUS ='Y'
WHERE SID in
(SELECT SID FROM TEST_CUST WHERE M_ID=:old."ID");
shouldn't that be...
Lowell
March 28, 2013 at 6:12 am
Thanks for the insight guys; I'm still hoping for some more suggestions.
My non profit wouldn't even spend the five dollars per mailing, but would love for me to invest hundreds...
Lowell
March 28, 2013 at 6:09 am
the command you posted is from MYSQL;
SQL doesn't do file writing operations directly, you typically would use BCP OUT, or a CLR, or an application to write to disk when...
Lowell
March 28, 2013 at 5:56 am
BrainDonor (3/28/2013)
Lynn Pettis (3/27/2013)
What to make of this?May not be what I was thinking. Good.
"I'm a DBA, it turns out"
How do you suddenly discover that you're a DBA?
it's like...
Lowell
March 28, 2013 at 5:30 am
...ORDER BY ?
Lowell
March 27, 2013 at 1:57 pm
BIDS is a trimmed down version of VS2010 with the project templates related to Business Intelligence installed.
i have VS 2010 professional, and I have SQL 2008 standard installed on my...
Lowell
March 27, 2013 at 1:54 pm
based on your example code, Lynn's post, barely modified for the column name, works perfectly:
declare @SQLCmd nvarchar(max);
select
@SQLCmd = stuff((select N'union select MFG from ' + TableName...
Lowell
March 27, 2013 at 1:34 pm
Viewing 15 posts - 3,796 through 3,810 (of 13,459 total)