Viewing 15 posts - 9,946 through 9,960 (of 13,459 total)
i thought select serverProperty('ComputerNamePhysicalNetBios') was supposed to give you the actual machine you are connected to in a clustered environment, am i wrong?
Lowell
February 22, 2010 at 5:15 am
Roust this seems to be working on my sandbox; i was able to create a table with a pk and a uq, and it iterrupts the create index statement:
CREATE TRIGGER...
Lowell
February 21, 2010 at 2:48 pm
copy paste error; your variable is missing the @:
set @vBackupPath ='\\l04\backup\RightFax_backup_'+@vDate+vTime+'.bak'
should be
set @vBackupPath ='\\l04\backup\RightFax_backup_'+@vDate+@vTime+'.bak'
Lowell
February 21, 2010 at 8:38 am
ben i hope this helps;
this is the syntax i would use to update from a different table; it would be different if this is inside a trigger;
i *think* your current...
Lowell
February 20, 2010 at 8:39 am
which registry key are you looking at?
on my machine, HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\CurrentVersion
has a value of CurrentVersion=10.0.1600.22
for the the FileVersion of sqlservr.exe, i had 2 on my machine, one for an 2005 express...
Lowell
February 19, 2010 at 10:15 am
some of your part codes do not contain a colon then; add a WHERE statement:
WHERE CHARINDEX(':', PART_CODE) > 0
Lowell
February 19, 2010 at 8:44 am
sure, here's a basic example.
in any query window with SSMS:
begin tran
select * from example with (tablockx)
the with(TABLOCKX) gives you an excluseive table lock.
now if you try in a second query...
Lowell
February 19, 2010 at 8:32 am
only on stored procedures, you can reference a table that does not exist, and the proc will still compile successfully; they call it delayed name resolution.
so you'd be able to...
Lowell
February 19, 2010 at 5:17 am
no matter what the linked server type is, you can use this command:
EXEC dbo.sp_Tables_Ex myLinkedServer
that will list all the tables available in the linked server...whether sql,access,oracle,or whatever...i...
Lowell
February 18, 2010 at 6:36 pm
You've kind of hit on all the high points yourself, so i'll just expound a bit.
first, format-wise, a trace is a trace; it's designed to capture exactly 64 columns of...
Lowell
February 18, 2010 at 11:05 am
J-F, to find non-compliant data with high ascii, i think you can just use this:
select * from @test where value like '%[^''a-Z .,-]%'
i think you'd use a Tally table...
Lowell
February 18, 2010 at 8:24 am
if that is a specific product, i think you'd have to add the synonyms to the theosaurus file right?
it's the same concept if i search fro "camero", but i...
Lowell
February 18, 2010 at 7:37 am
the original statement used to create a table is not saved/stored anywhere;
all you can do is generate a statement which would create the table; it probably would not be exactly...
Lowell
February 18, 2010 at 7:04 am
Roust_m (2/17/2010)
Hi,I want to give a user permissions to creata any object within a schema, BUT indexes, as well as read/write/execute, etc.
Is there a way to do this?
Thanks.
i don't believe...
Lowell
February 18, 2010 at 6:43 am
I looked at your datafile,a nd because some records will contain multiple CrLf,s you will have to use SSIS or BCP, as suggested above.
on the SQL 2005 server, you will...
Lowell
February 18, 2010 at 6:17 am
Viewing 15 posts - 9,946 through 9,960 (of 13,459 total)