Viewing 15 posts - 361 through 375 (of 388 total)
So, add all records (without distinct) and then remove duplicates. There is something not right with the database logic, when it depends on physical order of data.
December 4, 2007 at 5:32 am
My understanding is, sorting is the most effective way of removing duplicates, as it eliminates need of costly lookups. Could you tell us what is the scenario and goal you...
December 4, 2007 at 3:51 am
you can look how the database was configured before it was backed up using restore filelistonly command, like here:
restore filelistonly from disk='E:\sqlbackup\mydatabase20071121.bak'
November 27, 2007 at 6:05 am
Hi,
You can create your procs and view with WITH ENCRYPTION option, this will prevent others from viewing their code. Be sure though that you have these objects scripted.
HTH,
P.
November 26, 2007 at 8:22 am
you have to enable ability to execute xp_cmdshell, which by default is disabled in SQL 2k5
there's an example in BOL, how to set this value.
-- To allow advanced options to...
November 24, 2007 at 3:58 pm
sure, you have to set up a SQL Agent job.
October 18, 2007 at 11:42 am
maybe this is what you are looking for:
select user_name() as , suser_name() as [login name]
hth
Piotr
October 18, 2007 at 3:54 am
what's the remote server? sql? so if you create a linked server, look for sql agent and how to create a job. then in a job step you can call...
October 17, 2007 at 4:19 pm
did you consider using simplest - linked server? you could set up a job that would copy data from that server over to your database at required pace.
October 17, 2007 at 3:31 pm
Hi Christian,
CTEs are 'physical' rather than 'logical' construct, as they produce data for use in subsequent query, right? So you can write a CTE query that performs heavy sorting or...
October 17, 2007 at 3:16 pm
it's like with select: avoid implicit column references. if order of columns in your table changes, inserts may fail and it can be hard to track.
this query works and it...
October 17, 2007 at 3:23 am
how do you make this excel query? are you sure that the excel process is closed after being used?
September 21, 2007 at 9:31 am
Higher versions do not support User Instance Mode. So, if you rely on it, you may get burned. You cannot connect to user instance using tcp/ip, only named pipes. Connection...
September 18, 2007 at 7:45 am
Viewing 15 posts - 361 through 375 (of 388 total)