Viewing 15 posts - 121 through 135 (of 429 total)
you could do something like this:
declare @sql nvarchar(4000)
declare @name sysname
declare @t table (dbname sysname, filename sysname)
-- loop over all databases using a cursor/while loop, which I am too lazy...
---------------------------------------
elsasoft.org
April 15, 2008 at 7:27 am
have a look at sys.databases and sys.database_files
---------------------------------------
elsasoft.org
April 15, 2008 at 12:36 am
it's really really not a good idea to use select * in a view.
---------------------------------------
elsasoft.org
April 13, 2008 at 11:29 am
sivasenthilkumar (4/12/2008)
How to find the UNICODE for Korean characters and COLLATE for Korean?
while inserting a column i need to give Unicode for korean?
Is there is any change...
---------------------------------------
elsasoft.org
April 13, 2008 at 12:18 am
nvarchar columns can take any unicode char.
the trick comes if you need to, for example, order by this column. In that case you need to specify a...
---------------------------------------
elsasoft.org
April 12, 2008 at 8:35 am
I wrote an open source app called scriptdb that will script out all objects in a db, and optionally the permissions on them.
It would be a fairly simple...
---------------------------------------
elsasoft.org
April 11, 2008 at 7:13 pm
you don't necessarily need dynamic sql for this.
see: http://sommarskog.se/dyn-search.html
---------------------------------------
elsasoft.org
April 11, 2008 at 7:05 pm
Loner (4/11/2008)
I...
---------------------------------------
elsasoft.org
April 11, 2008 at 4:32 pm
is your CLR proc using any IDisposables without disposing them?
---------------------------------------
elsasoft.org
April 11, 2008 at 12:07 am
you could use bcp to export to csv, which excel can handle no problem.
---------------------------------------
elsasoft.org
April 11, 2008 at 12:04 am
good luck at your interview! remember to shave! 🙂
---------------------------------------
elsasoft.org
April 11, 2008 at 12:02 am
or put your query in a derived table:
select *
from refConcUnits r
join (SELECT code,description FROM OPENQUERY(pdxcommon, 'SELECT * FROM concentration_units')) x
on x.code=r.strunits
EDIT: forgot to mention that cross server joins will...
---------------------------------------
elsasoft.org
April 10, 2008 at 3:14 pm
perhaps there's an error in the agent log. CDW uses an agent job to schedule the copy, so check there.
---------------------------------------
elsasoft.org
April 10, 2008 at 2:52 pm
however much I'd like to take credit for that article, it's not mine. 🙂
Jeff Smith wrote it - his blog is very good btw.
---------------------------------------
elsasoft.org
April 10, 2008 at 2:50 pm
I'd use backup/restore.
---------------------------------------
elsasoft.org
April 10, 2008 at 12:32 pm
Viewing 15 posts - 121 through 135 (of 429 total)