Showing posts with label sqlserver. Show all posts
Showing posts with label sqlserver. Show all posts

Thursday, March 29, 2012

extract data from sqlserver

hi all
how can I go about extracting data from a sql database and piping to a file,
lets say .csv format.... any ideas appreciated
thnx
tmWhile this is possible with Reporting Services (using the file share
delivery extension), you might look at using a tool like DTS.
--
Brian Welcker
Group Program Manager
SQL Server Reporting Services
This posting is provided "AS IS" with no warranties, and confers no rights.
"tmmm" <a@.a.com> wrote in message
news:eSzJTPFVEHA.2564@.TK2MSFTNGP11.phx.gbl...
> hi all
> how can I go about extracting data from a sql database and piping to a
file,
> lets say .csv format.... any ideas appreciated
> thnx
> tm
>

Tuesday, March 27, 2012

External_access/unsafe - system call

Hi,
i need to make a system call from within the sqlserver (run an .exe file).
i do not want to define the db as trustworthy.
i've created a strong name key and related it to the code. i then created
asymetric key, granted access to the login and created the assembly but
failed.
what am i doing worng?Hello ????,
Here's folow I've solved this in the past:
http://www.sqljunkies.com/WebLog/kt...op.com/ktegels/|||Hi,
Tried it and it didn't help (p.s - we exchanged some mails last week )
"Kent Tegels" wrote:

> Hello ????,
> Here's folow I've solved this in the past:
> http://www.sqljunkies.com/WebLog/kt...op.com/ktegels/
>
>|||Hello ????,
Right, I'm retrying it on my machine today and so far it is.
Have you tried the process as described in the the July 2006 BOL update. See
:
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/denet9/html/a2bc503d-b6b2-4963-8beb-c1
1c323f18e0.htm
Thanks,
Kent Tegels, DevelopMentor
http://staff.develop.com/ktegels/|||couldn't reach the url can you send a valid one?
Galit.
"Kent Tegels" wrote:

> Hello ????,
> Right, I'm retrying it on my machine today and so far it is.
> Have you tried the process as described in the the July 2006 BOL update. S
ee:
> ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/denet9/html/a2bc503d-b6b2-4963-8beb-
c11c323f18e0.htm
> Thanks,
> Kent Tegels, DevelopMentor
> http://staff.develop.com/ktegels/
>
>|||Hi Kent,
managed to do it - thanks (not according to your note).
Thanks,
Galit.
"????" wrote:
[vbcol=seagreen]
> couldn't reach the url can you send a valid one?
> Galit.
> "Kent Tegels" wrote:
>sql

Monday, March 19, 2012

Extended Property

How do I query the extended property of a column (like MS_Description
property). I run the following query and SqlServer returns nothing. But
I see the description in enterprise manager. Am I missing anything here
please?
SELECT *
FROM ::fn_listextendedproperty (N'MS_Description',
N'user', N'dbo', N'table', N'ED_Account', N'column', 'AccountID')Your query looks okay. Can you try the query below,
this should return all column descriptions for your table.
select value,col_name(id, smallid)
from sysproperties
where name='MS_Description'
and id=object_id('dbo.ED_Account')|||Thanks that works
markc...@.hotmail.com wrote:
> Your query looks okay. Can you try the query below,
> this should return all column descriptions for your table.
> select value,col_name(id, smallid)
> from sysproperties
> where name='MS_Description'
> and id=object_id('dbo.ED_Account')|||Note that sysproperties isn't documented and was removed in 2005 (replaced b
y a documented catalog
view). So, I do not recommend that you use it. I have a feeling that Mark su
ggested you the query
just to troubleshoot, verifying that there actually has been defined extende
d properties for this
object (etc.).
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"S Chapman" <s_chapman47@.hotmail.co.uk> wrote in message
news:1149091258.427862.291020@.f6g2000cwb.googlegroups.com...
> Thanks that works
> markc...@.hotmail.com wrote:
>

Sunday, February 26, 2012

Express Manager download for RTM version of SQLServer Express

Has MS updated the Express Manager tool for the RTM version of SQLServer Express? It's a great tool and not having it causes so much pain (I have to use the command line tools!).

Thanks in advance!We're working on an update to the Express Manager. We expect to release a Community Technology Preview of it by the end of the year. In the mean time your options are to use the command line tools, use Visual Studio, or acquire the Developer or Evaluation Editions of SQL Server 2005 and use the full-blown Management Studio.

Dan|||I tried to install the client tools from SQL Server 2005 developer edition but the installer for this (after downloading another 2.8GB!) says components are already installed and cannot be upgraded (or message similar to this).

I'll use the command line tools I guess Smile

Thanks anyways!

Wednesday, February 15, 2012

Exporting Structure & Data to Access Table

Hello E'body

I have an application with MSAccess as front end and SQLServer as backend. have quite a bit of tables. i wanted to write a stored procedure which exports a SQL Server table (both Structure & Data) to a new Access MDB file. i know with the use of DTS its possible but i need to code it down. i need to perform this at runtime. so can anybody help.
Its urgent.

Bye.

LaxI don't think you can write a stored procedure to do this. You may be able to write an Access module that will do it, but it won't be easy because Access.mdb datatypes do not match SQL Server datatypes.