[howto] View Contents Of Log File

Apr 7, 2004

How to view contents of log file?
i found sp_helplog
however

sp_helplog is no longer supported.

help please

View 1 Replies


ADVERTISEMENT

Howto Use The Query Results As View Column?

Sep 17, 2006

Hi All,I have two tables, one is about member infomations, the other is thecatergoriesmember_info(id,name,email,phone)member_categories(id,category)how can create a view like this (id, name, category1, category2,category3) with high performance?Thanks in advance.Joshua

View 2 Replies View Related

View And Print Contents Of Query Analyzer (was Big Time Newbe Needs Help)

Feb 28, 2005

Hello, I need some help, I am in school right now and I am in a SQL server class. We have been working in the query analizer making a database. Well I have to print out everything that I have typed. But I want to view it first. How do I do that?

Sorry I did a search and couldnt find anything.. Probably cause I dont really know what to search for or look under. Thanks for your guys time.

~Matt

View 2 Replies View Related

Get Contents Of Xml File

Jul 5, 2007

Is it possible is SSIS to get the contents of an xml file and pass it on to a stored procedure?
Thanks

View 1 Replies View Related

Checking Contents Of Column And Replacing Contents If First Character Is A Letter

Jun 25, 2007

Hi All,I have come up against a wall which i cannot get over.I have an sql db where the date column is set as a varchar (i know, should have used datetime but this was done before my time and i've got to work with what is there). The majority of values are in the format dd/mm/yyyy. However, some values contain the word 'various'.I'm attempting to compare the date chosen on a c# .net page with the values in the db and also return all the 'various' values as well.I have accomplished casting the varchar to a datetime and then comparing to the selected date on the .net page. However, it errors when it comes across the 'various' entrant.Is there anyway to carry out a select statement comparing the start_date values in the db to the selected date on the .net page and also pull out all 'various' entrants at the same time without it erroring? i thought about replacing the 'various' to a date like '01/01/2010' so it doesn't stumble over the none recognised format, but am unsure of how to do it.This is how far i have got: casting the varchar column to datetime and comparing.  SELECT * FROM table1 WHERE Cast(SUBSTRING(Start_Date,4,2) + '/' + SUBSTRING(Start_Date,1,2) + '/' +SUBSTRING(Start_Date,7,4) as datetime)  '" + date + "'"Many thanks in advance! 

View 7 Replies View Related

Howto Upload Programaticaly SMDL File&&

Jul 21, 2005

Hi.

View 14 Replies View Related

Config File Contents And Deployement

May 14, 2007

Hi all,

I have few config files with db passwords in them. I have to change passwords daily into that(as my system is in UAT phase now). I have deployed my packages on SQL Server.

My question is , do I need to deploy my packages daily after password updation, or it'll automatically taken care by the SQL Server ?



Thanks in Advance

syed

View 4 Replies View Related

Understanding The Contents Of A Checkpoint File

Aug 18, 2006

Hi,

I have a problem where my packahe isn't restarting from the point of failure and I'm tryig to understand why not.



The following line came from the checkpoint file:

<DTS:Container DTS:ContID="{36A685E1-049A-4E6C-9884-AADF8BE29577}" DTS:Result="0" DTS:PrecedenceMap="" />

Can anyone explain:

What DTS:Result & DTS:PrecedenceMap are used for?
What values can DTS:Result contain and what do they mean? [Today I have only seen "0".]
What values can DTS:PrecedenceMap contain and what do they mean? [Today I have only seen "Y" & "".]

Thanks

Jamie

View 1 Replies View Related

Need A SP, XP Or USP To Read The Contents Of A File (i.e. Any OS Or SQL Server Logs )

Jun 11, 2002

hello,
I am working on some maintenance process. I need a Stored Procedure to reda the contents of a file. (i.e. OS or SQL server log files). plz help me in sort out this problem.

regards,
venkat.

View 2 Replies View Related

Can Sql Server Read An Outside File And Insert The Contents Into The Database?

Aug 8, 2000

hello!

i'm an sql server beginer. i was wondering if some of you guys can help
me out. i need for the sql server to be able to read an outside file (just text) and be able to run a script that will insert it in the database. it's a dcc output file. we've tried running this script:

DROP TABLE tests
go
DECLARE @SQLSTR varchar(255)
SELECT @SQLSTR = 'ISQL -E -Q"dbcc checkdb(master)"'
CREATE TABLE tests (Results varchar(255) NOT NULL)
INSERT INTO tests EXEC('master..xp_cmdshell ''ISQL -E -Q"dbcc checkdb(master)"''')


and it's running good but the problem is the results of the dbcc here did not come from a file but directly after executing the dcc command. is there a way to do it?

thank's for the help!

View 1 Replies View Related

How Do I List Contents Of File Directory In The SQL Query Analyzer

Apr 13, 2006

how do I list contents of file directory in the SQL Query Analyzer

View 1 Replies View Related

Sending File Contents In The Body Of The Email With Xp_sendmail

Jul 23, 2005

I would like to send the contents of a file using xp_sendmail howeverI do not want the file contents to be an attachment.I have no problem sending the file as an attachement.Can anybody give me an xp_sendmail example of how to do this.The results of a query can easily appear in the body of the email butall myattempts to include the contents of a file in the body of the emailhave not worked.TIA

View 1 Replies View Related

File System Task - How To Move Directory Contents

Jul 13, 2006



Hi,

I want to move all files of one directory/folder into another usng SSIS, like in DOS Prompt we use the command,

Move d:ftpSource*.* d:ETLSource

I have tried by creating a file system task, but there is no option for Move Directory Contents. Move File is not accepting wild cards.

Regards,

Imran.





View 3 Replies View Related

SQL Server 2008 :: SSIS - Package To Zip Contents Of A Folder Into One ZIP File

Aug 12, 2015

I have a requirement to create a package that takes all files in a given folder and adds them to a single archive (.zip) file. I've tried several methods using 7zip and while I can create archives for every file in the directory I can't seem to get them into a single .zip file.

View 9 Replies View Related

How To View The .LDF And .MDF File

Aug 27, 2004

Dear Members

How to View the .LDF and .MDF file

Can anybody tell me how to see the details of .ldf and .mdf file which is there in Data directory under MS SQL installed directory

Is there any viewer of these files.

I need help on this becuase I want to knwo what sort of activites are going on a particular database.

Regards
Praveen Kumar Pandey

View 14 Replies View Related

How To View MDF File

Aug 9, 2015

I have an MDF file I really would like to be able to view. It has a lot of legacy office data on it that would just be handy to access.I have tried to install SQL Server 2008 r2 on a 32bit window 10 computer but I do not seem to be able to connect to ./SQLEXPRESS.I have also tried a program that claims to be able to view and MDF file, but it could not.

I don't know for sure but a third party software supplier setup the db for us originaly and they may have put a password in. I don't have access to this password as we now have a new software supplier so I can't exactly contact them.

View 5 Replies View Related

How To View Log File

May 22, 2007

one of my tables had data in it and yesterday the data just disappreared. someone might have deleted from table by mistake.

i need to look into the log file. what is the best way to look into it.

i try to copy it to another location first but it tells me that log file is in use with another program but its not.

Ashley Rhodes

View 6 Replies View Related

Export View To CSV File

Feb 3, 2015

I have about 700,000 records that I need to export out of a view from SQL into a csv file.I know how to export to excel, but not csv.

View 1 Replies View Related

View The Report From Xml File

Nov 19, 2007



Hi All,

When I click a rdl file it opens with visual studio. But I can see the xml file. not the report. Also the debug option is not available when I open the file. How can I see the report?

Thanks

View 4 Replies View Related

How To View Transaction Log Through Log File?

Apr 30, 2008

How to view transaction log through log files? I want to know what happens few hours ago in a certain DB, such as insert/update/delete operations....
I tried DBCC LOG, but it can't give the details, I mean SQL statements, can anyone help?

View 7 Replies View Related

Use DTS To Load A Text File To A View

Jul 27, 2001

Hi, does anyone know if it is possible to use DTS Transformation to load a test file to a view instead of a table? When I select from the DTS window, only tables are available for selections not the views.

View 1 Replies View Related

Sage .DTA File - How Can I Convert/View It ?

Jan 26, 2007

Hello, not sure if this is in the right forum or not...

I have a .DTA file from Sage which is a Database file, im assuming anyway, how can i convert it into a format where i can view it in say access or excel, something like that, or anything really just so i can read it all properly... i can read it in word - buts of it but its all mangled and awful...

Thanks

View 14 Replies View Related

View Output File For Job From SSMS

Dec 7, 2007

In SSMS, when editing a step in a SQL Agent job, on the Advanced screen for a step there is a button called View by the Output File. How do you get that to be enabled? It's always disabled for me and I wish I could view the file right from the job. This is something I miss from 2000. However, the button is there so I would think that I am just doing something wrong.

View 1 Replies View Related

Running SQL File (view + Procedure) Problem

Oct 15, 2005

I am try to run a .sql file

CREATE VIEW LastReport
AS
SELECT     MAX(ID) AS LastReport, RHost
FROM         Report
WHERE     (RComplete = 1)
GROUP BY RHost

CREATE PROCEDURE [dbo].[MembresAcces_Insert]
 AS
INSERT INTO membresAcces (login, passe, id_membresTypes) VALUES ('admin','admin',50);

.... 10 view and procedure like this one

i get an error view must be the first one

what is wrong ? running CREATE TABLE works perfectly

thank you

View 1 Replies View Related

Not Able To Map View Columns To A Flat File Destination

Oct 16, 2007

Hi,

I have a dataflow task with two components: OLE DB source --> Flat File destination

In the OLE DB source, I am accessing a view, not a table.

However, when I attempt to map the view's input columns to the flat file destination columns, the screen is completely blank. There's none of the usual drop downs that let you select the column name, nor can I drag and drop the input column from the upper pane to the lower pane.

Is there a trick to doing this?

Thanks

View 6 Replies View Related

Howto Get The Count Value?

Jul 25, 2006

Hello!I have a question about the SqlDataSource object.If i make an SqlDataSource with the following sql statement: "SELECT COUNT(id) AS recordCount FROM tblCategory"How do i get the recordCount value to a Variable.Im writing in C#.<asp:SqlDataSource ID="SqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" SelectCommand="SELECT COUNT(id) AS recordCount FROM [tblCategory]"></asp:SqlDataSource>

View 3 Replies View Related

No Logs - Howto ?

Nov 27, 2006

Hello,

I would like to avoid any logs. Meaning that logs are cleared ones transactions are executed successfully.

Is there any way to achieve this?

Thanks for any feedback!

Regards,
Fabian

my favorit hoster is ASPnix : www.aspnix.com !

View 20 Replies View Related

Changing To Design View Of A Reporting Services Report File

Nov 13, 2007

When I am working on an Integrations Services project and I open a Reporting Services file, it displays it in the Code view. Is there a way to display it in the Design view? Or do I have to close the project and open up a Reporting Services project?

Fred

View 1 Replies View Related

HowTo Add ASPNET User?

Jul 6, 2005

The objective is to configure on a dev machine. Selecting New Database User is the easy part as the ***ASPNET user can be selected from the drop down listbox. What follows and what to do next is a myriad of choices. What needs to be done next? Is there a step-by-step document somewhere that you can refer?

View 1 Replies View Related

Howto Reduce Tempdb

Mar 29, 2001

Hello. Can anybody help me with this?

I have a sql server 7.0, where tempdb database has a size of 21 Gb and space available is 2Mb less than 21 Gb.

How can I shrink, reduce, compact ... it?
I have just tried with Backups and truncate log, but nothing

Bye, JuanSa.

View 9 Replies View Related

Howto Do A Fulltext Search ?

Jan 14, 2008

Hi,

I'm trying to do a fulltext search which returns the adjacent words also in the result, like u do a google search and it returns the paragraph containing the searched phrase.

Any tips ?

View 1 Replies View Related

Howto Use Joins Instead Of Subqueries?

Jul 20, 2005

Hi,Trying to get a grip on the "join" thing :)Up until now, I allways used this kinda method:"(select t1.a from t1 where t1.b in (select t2.ab from t2 where t2.b=0))"How can this be accomplished using joins? And if you have the time pleaseexplain the "bits" :)Thank you.--?TH

View 3 Replies View Related

Howto Use DATEDIFF(); In SQL Express

Oct 16, 2006

Im trying to lern MS SQL Express to my PHP5 websites so now get eyes open for View and i will try to make views in my MS SQL database.

Bot this command here i get the rong result

SELECT DATEDIFF(yy, '1985/10/21', '2006/10/18') AS Fdag
FROM table

the problem is im not 21 year old im only 20 bot about 6 days im 21 bot the SQL say im 21 year old so ist can't rember deferind whit the date.

i hob i get get help here :)



tanks enyway :)

View 9 Replies View Related







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