Content Of Sp From System Tables

Jun 4, 2008

Hi,

Anyone plz do tell me what s the query to see the text content of stored procedure from system database tables..

from which table we get the content of sp


Thanks & Regards

ARV

View 9 Replies


ADVERTISEMENT

Best DataType For Content System

Jul 20, 2005

Hello,On our corporate website, we will be using email notifications forvarious things. I would like for our marketing guy to be able to editthe email templates over the web so that I don't have to keep updatingthem myself for every little change. I want to store the templateswithin the database (since they will be small). The templates will beHTML based and not more than a few thousand bytes in length. Should Iuse a VARCHAR or VARBINARY, or what? I would assume VARCHAR, but I'mnot sure.Thanks,Will

View 1 Replies View Related

File System Task -Delete Directory Content

Jul 25, 2007

This delete's the directory content as well as sub directory content! Is their a way i can just set it to delete the files in the said directory and not sub directories?

View 11 Replies View Related

Can I Implement A File System With SQL Server Similar To Oracle Content Services?

Apr 29, 2008

I need to implement a file system for an application that allows me to roll back to a point in time. I can do this with either a journaling file system (Unix based such as JFS) or with a database file system such as Oracle Internet File system (now Oracle Content Services). I would MUCH prefer to use SQL Server but cannot find anything that supports this other than a 2000 ppt referencing the then up and coming SQL Server .NET File System.

The application(s) in question are older and store data in proprietary data files and need to access a local (or mapped) drive in standard form (d:programsmyprogram).

Does SQL Server 2005 or 2008 support this type of access? I have searched but cannot find anything to support this.

Thanks.
B.W.

View 1 Replies View Related

Is There A Microsoft Document Exchange And Database System Like Lotus Notes Or Oracle Managment Content?

Jul 20, 2005

Hello,I work for an attorney staff, so basically the whole day they aresending themselves a lot and a lot of papers (Word docs or Excellsheets).We are going to propose them the use of a Document Exchange andDatabase System (like Lotus Notes or Oracle Managment Content,formerly known as Internet File System IFS ) with .NET interfazes.Basically the idea is that instead of sending papers the whole day,they can use a software to check and manage more quickly theirdocuments.We are looking for a system that allows us to manage:- Security- Versioning- Folders- Check-in/Check-out- Workflow- Search and Retrieval- Extensible MetadataMy question is:1) Is there any Microsoft tool who can help us to achieve that(management of codes, dates, text, names of documents- I mean like aDocument Exchange and Database System) with .NET interface?2) Or do we have to built it from scratch?Thank you very much!Jorge

View 4 Replies View Related

Combining The Content Of Two Tables

Sep 20, 2007

Hi all,

How can I combine the contents of the two tables below? The combination result of these tables is provided below. Thanks

Table A
Client Weight Purchase
Tom 10 2
Bill 4 2
John 3 2

Table B
Client Weight Purchase
Jim 2 5
Lee 4 3
Bob 6 7

Combination table (result)

Client Weight Purchase
Tom 10 2
Bill 4 2
John 3 2
Jim 2 5
Lee 4 3
Bob 6 7

View 3 Replies View Related

Copy Tables + Content + Structure From DB1 To DB2

Apr 16, 2007

I need to make something that copies all tabels (structures + data) from a progress database into another mssql2000 database.

THANKS!

View 7 Replies View Related

Adding New Content To A Table By Refering Other Tables Using SQL

Jan 5, 2007

I keep product name, id in Table1.
I keep Category name, id in Table2.
I keep relation between product and category (product_id, category_id) in Table3.
I have added some products to the table with proper category.
Work fine
But for some products I did not specified any category
(ie their id  is not present  in Table3)
But now I want all such products
(ie all products whose category is nothing)
 To be associated with category_id 10
 
Can I do this  simply with SQL queries?
 
Hope u can help me
 
sujith

View 4 Replies View Related

Determining What Are System Objects In Sp_help Or System Tables

Jul 20, 2005

Hi,I have a few things on my databases which seem to be neither true systemobjects or user objects - notably a table called 'dtproperties' (createdby Enterprise manager as I understand, relating to relationship graphingor something) and some stored procs begining with "dt_" (some kind ofsource control stuff, possible visual studio related). These show up whenI use"exec sp_help 'databaseName'"but not in Ent. Mgr. or in Query Analyzer's object browser, and also notin a third party tool I use called AdeptSQL. I am wondering how thosetools know to differentiate between these types of quasi-system objects,and my real user data. (This is for the purpose of a customized schemagenerator I am writing). I'd prefer to determine this info with systemstored procs (ie sp_help, sp_helptex, sp_...etc) but will dip into thesystem tables if needed.Thanks,Dave

View 1 Replies View Related

How To Copy The Content Of 3000 Oracle Tables Into SQLServer?

Nov 9, 2005

I have to copy a large (3000) amount of different tables from a Oracle machine into an
SQLServer machine.
I am able to do this using a (VB) script.
I use now several methods:

1) INSERT INTO TABLE1 SELECT * FROM SID1..DB.TABLE1 (SID1 is a linked server)

2) INSERT INTO TABLE1 SELECT * FROM OPENQUERY(SID1,'SELECT * FROM DB.TABLE1')

3) Also used OPENROWSET method (similar to 2)

For small tables this is fine, however for BIG tables (15M Rows/150Cols) the methods above are too slow.
If I compare the same copy action with a simple DTS, the DTS is 3 times faster.
Also, the DTS seems to bulk copy the data directly into the desired database while the
mentioned methods first fill the tempdb, then the transaction log of the desired database and
then finally the desired table (need very much extra space on your filesystem).
The total size of data is about 300GB.

Can anyone supply me with a simple example how to copy data from an Oracle table into a
SQLServer table in script (or SQL) that is as fast as the DTS and not filling my logfiles??
I read the bcp (which I use for import/export files) and bulk insert commands, but
I do not understand how to use them in this question.

View 14 Replies View Related

System Tables

Jul 19, 2000

Does anyone know what system tables are used when a sp_spaceused is executed?

Thanks in advance

View 2 Replies View Related

Get Rid Of System Tables/SP

May 26, 2000

I want to get rid of systemtables or systemstored procedures which displays when ever i creat new database.

How can I get rid of system tables ?

View 1 Replies View Related

System Tables

Jan 26, 2001

Hi All

I want to know where I can find Object permission detailes, For example
I have table1 and user "abc", I have given permission to user "abc" for table1 to "SELECT" "INSERT", "UPDATE", I want to know where this detail is stored in system table. I was looking at "SYSUSERS","SYSLOGINS",
"SYSPERMISSIONS", "SYSMEMBERS", "SYSOBJECTS" I couldn't find anything, If some one can post your answers that will be great.

Thanks in Advance

Regards
Ram

View 3 Replies View Related

BCP In System Tables

Apr 15, 1999

Hello,

I have succesffuly BCP out system tables(sysdatabases, sysdevices, syslogins, and sysusages). Now I want to BCP those same tables IN to create devices, databases and so on using the BCP utility. I run the same command used to BCP out and only changes the OUT to IN but it did not work.
Can somebody whose done this before tell me how to do it.

Many Many thanks,

Ana.

View 1 Replies View Related

SQL System Tables

Nov 29, 1998

Where can I find a discussion of how to interpret the keys1 and keys2 columns of the sysindexes table? These columns are binary(255) and are supposed to contain a description of the columns to which the index applies. I also need to know how to interpret the status column of the sysconstraints column.

View 1 Replies View Related

System Tables

Jul 10, 2002

Hello,

I've one Sybase DBA asking this question, Is this really true, Pls help me.

Due to architectural changes in SQL Server 7.0, you cannot dump the transaction log if a database's system tables are inaccessible (due to media failure, for instance)in 7.0 and later versions. Microsoft recommends that separate devices be used for system tables and user tables to allow a final log backup to take place in the event the data device is inaccessible. The additional exposure incurred by not doing this is possible loss of data for the interval between the last transaction dump and the point of failure.

Thanks
Qinglee

View 1 Replies View Related

System Tables

Jun 2, 2008

Hi Gurus,

select * from sys.server_principals is not working for me on 2000 SERVER.

This works fine on 2005 SERVER..

Where Iam going wrong ..please advice..

Thanks,
ServerTeam

View 3 Replies View Related

System Tables

Sep 28, 2006

Hello all.

can anyone advise me where I can find a relationship diagram for the system tables in SQL Server2000.

Thanks all.

View 5 Replies View Related

System Tables

Oct 31, 2007

Hi,

I'm doing an impact analysis to see what views / stored procedures etc are impacted by a change to columns in a table.
I'm using the system tables to identify these changes, and it is something that I'll have to repeat across all our databases in case the tables are being accessed from elsewhere.

I'd like to make sure I'm doing it the right way so could someone point me in the direction of a good article or code for doing this.

thanks

Sean

View 2 Replies View Related

System Tables

Jul 20, 2005

I dont want to see these at all and cannot find where tospecify a view or modification of a view. can someone throw me abone here and tell me where to make the adjustments if I can make themat allMichael

View 2 Replies View Related

Can Only See System Tables

Oct 26, 2006

Hello,

I have created a linked server XYZ that is linked to server ABC. I am tying to view the tables via XYZ but I'm unable to do so. I can only see the system tables. When I run a select statement, I get the correct results. That means I have the access to the tables, yet why am I not able to see the tables.

Please assist

View 1 Replies View Related

System Tables

Dec 24, 2007

Hello,

Is it possible to:


Add a system table using smo (or at all)?

Add new rows to a system table?
Thanks,
Assaf

View 4 Replies View Related

What Is The System Tables Folder For?

Mar 19, 2008

In SQL mngt studio...what is the system tables folder in the tables folder supposed to be used for?  Do I need to use it for anything?
 Gater

View 5 Replies View Related

System Tables (Urgent)

Jul 10, 2002

Hello,

I've one Sybase DBA asking this question, Is this really true, Pls help me.

Due to architectural changes in SQL Server 7.0, you cannot dump the transaction log if a database's system tables are inaccessible (due to media failure, for instance)in 7.0 and later versions. Microsoft recommends that separate devices be used for system tables and user tables to allow a final log backup to take place in the event the data device is inaccessible. The additional exposure incurred by not doing this is possible loss of data for the interval between the last transaction dump and the point of failure.

Thanks
Qinglee

View 1 Replies View Related

System Tables,Urgent!!

Oct 24, 2001

HI all,
I need to understand a little bit more about SQL Server built in tables. For example in Oracle if I need to check for tables names under one database. The query will be something like this:

Select table_name from user_tables;

Or to get column_name and table_names:
Select column_name, table_name from user_tab_columns;

How can I do this in sql server 7?
I know there is a table called sysobjects. The sysobject will give me all the objects in the database but how can I specify wether its a table or a column. More over can someone refer me a good book for sql server 7. Both development and administration.
Thank you in advance!!!!

View 2 Replies View Related

Trigger On System Tables

Feb 15, 2001

I need to keep track of changes (delete/modify) in sysusers table. SQL Books Online mentionend that SQL Server 7.0 doesn't support trigger on system tables. What options do I have?

LT

View 2 Replies View Related

Hiding System Tables

Jan 25, 2000

Is there anyway to hide system tables in a database so that only user tables are viewed?

Gary

View 1 Replies View Related

DTS MSDB SYSTEM TABLES

Nov 30, 2000

Is there any way to get the DTS Wizard to see the system tables (sysjobs, sysjobschedules, etc..) in the MSDB or Master database?

View 2 Replies View Related

System Remote Tables ?

Oct 26, 1999

after upgrade sql from 6.5 to 7.0 , there are some new system
table in system database , all are begin with sysremote_....
such as sysremote_tables, i can not find any information about
them , does anyone know what these tables for and whether
these tables will affect the new sql7.0 application database ?

thanks in advance .
regards
zg

View 1 Replies View Related

System Tables And More - How To Hide Them?

Mar 9, 1999

Hi everyone,

I've recently installed MSQL Server 7.0 Standart Version and every time I create a new database, system tables are created and are visible also. That means, I instantely get 18 tables, 20 views, 18 stored procedures and so on. Can I hide them??? I mean, my tables are all mixed with the system tables. If I can hide all the system tables and views and so on please tell me! Thanks.

View 3 Replies View Related

Triggers Against System Tables SQL 7

Apr 20, 1999

I'm thinking of building a trigger against a system table(sysobjects) in
database(a) on server(a) that will assist me in updating a table in
database(b)on server(b). What I need to know from table(b)is if a new table
has been added and removed from database(a) on server(a). I want to use a
store procedure to query the table(b). I was thinking of building a trigger
against my sysobjects table that would update table(b) whenever any tables
are added or removed from database(a). Has anyone built triggers against
system tables? I am running SQL 7.

View 2 Replies View Related

Get Row Count From System Tables

Apr 22, 2002

Does anyone know how to get the row count of a user table by using the system tables.
There is no guarantee that these user tables will have any indexes - so I can not use the sysindexes table to count the rows in a clustered index.

Is there another way?

View 1 Replies View Related

Question On System Tables

Feb 21, 2001

I can't see the system tables when I try to pull them up in a linked table view from ACCESS or in a VIEW in SQL Server. I can't adjust my permissions to make them appear in any way that I have tried. Do you know how to do this?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved