[news] Free Copy Of SQL Prompt

Jun 19, 2006

so last week i finally downloaded and installed SQL Server 2005, and along with that, i downloaded Studio Express (i had previoulsy been using MSDE with WinSQL by Synametrics)

anyhow, today i got an alert from google (you guys use those, right?) that there's a free copy of something called SQL Prompt available from Red Gate

i tried it, and i like it!!

see http://builder.com.com/5100-6388_14-6085249.html?part=rss&subj=bldr

View 2 Replies


ADVERTISEMENT

UPDATE News WHERE News=%s

Mar 15, 2007

hi everyone, trying to make updates to a news area on a website through an update form.

have a table (news) with one row (news).

the record set displays correctly in my update form in a browser. after changing content and clicking update however, error displayed:
You have an error in your SQL syntax near 'WHERE news ='contents for news area'' at line 1

corresponding code:

if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "newsForm")) {
$updateSQL = sprintf("UPDATE news WHERE news =%s",
GetSQLValueString($_POST['news'], "text"));

have tried multiple variations of the sql command. my question is do i have to add a row such as news_id and reference this as a primary key in order to use the UPDATE command? I have tried to do this but perhaps I should keep trying with that rather than with a single-row database. . .

it's just unclear where i should be looking. thanks anyone for your advice.

chris

View 11 Replies View Related

News With Database

Nov 30, 2007

 
hi how i can make news bar related with DB  ?

View 1 Replies View Related

Intro To News

Dec 16, 2004

Hi!

I want to show intro of the newest news on my startpage. But I only would like to show the subject and part of the message and if you klick on the subject you can se the whole news...how can I do that?

I have an mySQL database with the news.

I havn't found any thread with this topic...

Zäta

View 3 Replies View Related

News / Article Application Storage

Jun 2, 2006

Hi,
I'm building a straightforward-ish news site. Currently, the story details (e.g. headline, description, author, date) are stored in a SQL DB. The news is categorised and the category details are also stored in an SQL table.
However - what is the best way to store the actual news article?
At the moment, when the user enters a story, they input the details and article text. The details are saved in the DB and the text is saved as an XML file with filename corresponding to the article DB primary key. When the story is "read" the app pulls the details from the DB and loads up the appropriate XML file from disk. 
For various reasons, I need to keep the article stored as XML, either in a file or in the DB. The DB provides for faster sorting and retrieval, and I don't want to store large amounts of data (i.e. the article itself) in the DB if avoidable.
I guess there are a few ways to do it -
1. Store details in DB and article as XML file.2. Store details and article in same DB table3. Store details in one DB table and articles in another
I would imagine that 3 would be the best, but would there be a performance hit? What is the maximum size of field (i.e. article size) I can have in a table?
Cheers
Graham Wilson.

View 3 Replies View Related

Where To Find Reporting Services News

Dec 22, 2006

I have read an article about Reporting Services that was rather critical regarding a number of topics. But, this article was from 2005 and I assume that there have been some improvements in Reporting Services since then. Or?
If so, are there any good places where you can find the news? I haven€™t been able to find a good site for news in, in this case, Reporting Services.

View 1 Replies View Related

Feeding Database With External News Feeds

Jan 16, 2008

Hello all,
I have been reading these forums for a while but I am now a new member and relatively new to SQL (< 1 year exp).

In a project that I am currently working on I would like to include information related to current market news. An example would be news updates for certain companies that are generated from the Wall Street Journal or MarketWatch. The application would only be used internally and information would only be shared within the organization.

What I'd like to find out is:
Has anyone else worked with or developed something like this? If so, can you please share some insight.Would I need to purchase a Corproate License to use this information or would a personal account that can access the information be enough?What would be the best way to feed the database with this information? E-mails to the server, SSIS, etc.

Thank you for your help and I look forward to learning from you insight and experience.

View 3 Replies View Related

Design A Database For Daily News Network Website

Aug 4, 2007

Hello..
I want to upgrade my website to asp.net 2.0 and I want to add a Daily news to website.and 10 to 15 news will be added daily , so after a year we have almost 4000 entry in the database.
For designing this DB what is your advice on how to store news in database?Is it better to create same tables for each year ? for exampletblNews_2005tblNews_2006
Or just to make one table and have all news stored in that  ? its gonna be huge after years , isnt that make any problems?
ThanksRegards.

View 4 Replies View Related

The Remote Copy Of Database X Has Not Been Rolled Forward To A Point In Time That Is Encompassed In The Local Copy

May 11, 2006

Hi,

I set up DB mirror between a primary (SQL1) and a mirror (SQL2); no witness. I have a problem when I issue command:


alter database DBmirrorTest
Set Partner = N'TCP://SQL2.mycom.com:5022';
go


The error message is:

The remote copy of database "DBmirrorTest" has not been rolled forward to a point in time that is encompassed in the local copy of the database log.

I have the steps below prior to the command. (Note that both servers' service accounts use the same domain account. The domain account I login to do db mirror setup is a member of the local admin group.)

1. backup database DBmirrorTest on SQL1

2. backup database log

3. copy db and log backup files to SQL2

4. restore db with norecovery

5. restore log with norecovery

6. create endpoints on both SQL1 and SQL2

CREATE ENDPOINT [Mirroring]

STATE=STARTED

AS TCP (LISTENER_PORT = 5022, LISTENER_IP = ALL)

FOR DATA_MIRRORING (ROLE = PARTNER)

7. enable mirror on mirror server SQL2

:connect SQL2

alter database DBmirrorTest

Set Partner = N'TCP://SQL1.mycom.com:5022';

go

8. Enable mirror on primary server SQL1

:connect SQL1

alter database DBmirrorTest

Set Partner = N'TCP://SQL2.mycom.com:5022';

go

This is where I got the error.

The remote copy of database "DBmirrorTest" has not been rolled forward to a point in time that is encompassed in the local copy



Thanks for any help,

KT

View 8 Replies View Related

Detach-copy-attach: Can Not Copy Files - Getting Access Denied

Feb 28, 2008



Hi!
I did:
alter database mydb set single_user with rollback immediate;
exec sp_detach_db @dbname='mydb', @keepfulltextindexfile='true';

then I tried to copy files to new location on other drives, same server but got
>>Cannot copy <myfile>: Access is denied
Make sure the disk is not full or write-protected and that the file is not currently in use<<

I also tried rename of file without success.
I also tried with db service stoppet (not preferred) without success.

How to find out, which process locks the files?
Best regards

View 7 Replies View Related

Prompt For Value

Jun 21, 2004

What is the sql code to prompt for a value?

Can I do this in query analyzer or do I have to send the value from some other application?

View 2 Replies View Related

Prompt In SQL Server 7

Mar 6, 2002

HI,
I have a need where SQL Server should prompt me for a value when I run a Select statement.

Eg:
If I need the name of an employee by id number, SQL server should prompt me to enter a value for the ID when I run the statement like:

SELECT name FROM employee WHERE id=[Enter ID]

In oracle, it is possible by using "&" operator but I am not sure how it can be done in SQL Server. Is there any other way to get the prompts if not by the above method.

Thank you for your help in advance.

Sravan.

View 1 Replies View Related

What's Sql Prompt Tool

Feb 26, 2008

can anyone tell me what's sql prompt tool and how can it help in sql script? it finds error or what?

is it useful? its like visual studio?

thanks. pls reply.

View 2 Replies View Related

SQL Bundle Pro And Sql Prompt

Sep 24, 2007



Hi,

we are using a development environment. what is the cost saving licence to buy sql bundle pro and sql prompt.
Please guide. we have eight programmers , do we need to buy licence for every one, for both the tools, and what is the cost
i saw the link in the internet, but not so clear.

Thanks

View 5 Replies View Related

Parameter Prompt RTL

May 9, 2007

How i can display parameter prompt in other language like arabic

(right to left)



Regard

LPW

View 1 Replies View Related

Prompt When New Message Is Submitted

Jul 31, 2006

Hey everyone I dont know if this is the right area to post this but here it goesAn easy expamle of this that everyone is really fimaler with is myspace. When a new database entry is submitted then on the admin page it will say like new message(s).. how can I do this. It doesnt have to be per member. It is only going to be on the admin page.

View 1 Replies View Related

BCP Utility & Command Prompt

Dec 7, 2000

Can anyone tell me how to enable bcp utility. Because anytime I try to run BCP I get the following error messages: (BCP not enable). Also how can I get to SQL Server command prompt? I look forward to hearing from anyone.

View 2 Replies View Related

Running DTS From Dos Prompt.....URGENT!!

Oct 17, 2000

How to run a DTS job from command prompt? Any help is appreciated!
Thanks.

View 2 Replies View Related

Running A DTS Job From Command Prompt

Oct 17, 2000

Sorry for the new thread.
How to run a DTS job from command prompt? Any help is appreciated!
Thanks.

View 1 Replies View Related

XP_CMDSHELL From DOS Prompt And SQL Mail!

Dec 3, 1999

I have a problem like this.

I have a Folder on our NT4.0 server gets filled with different files with extensions(For ex. .bak, .new, .old, etc). These files with those extensions gets build up on a daily basis.

What I am looking for is,
a)I would like to do a count on those files with those extenstion
b)Send an email to the user and their boss if I have letz say more than 15 files of .bak or 15 files of .new files in that folder.
c) Also like to schedule this program to to run every day.

We have SQL Server6.5. Can some one assist me in coding this problem. Thanks
for your time. Roja96@hotmail.com

View 2 Replies View Related

Start Job From The Command Prompt?

Feb 23, 2006

I have a Microsoft SQL server that is setup, and inside it is a job. Inside the job is a bunch of lines of transact sql statements.

I would like to be able to start the job from the command prompt. Moreover, I do not want to have to create new files or modify anything that is existing. I just want to be able to have it set up so that a new user who installs the server and all of the job on their machine fresh, can just punch in the command to run the job.

I know I can copy the transact sql statements from the job, and run them through the command prompt, but that would be a poor way to do it, because if the statements in the job were ever modified, with this task being automated, the command prompt statements would be out of date.

So I just need a way to start the existing job from the command prompt. Is this possible? Maybe with OSQL?

View 4 Replies View Related

Sql Install From Command Prompt

Jun 18, 2008

Please let me know how to install sql server by using command prompt.

View 4 Replies View Related

Prompt User For Data

Oct 20, 2006

I need to prompt a user for start and end dates as well
as start and end times using a specific format for the
date and time.

I am having difficulty constructing the query.

So far I have...

DECLARE @StartDate DATETIME
DECLARE @EndDate DATETIME
DECLARE @StartTime DATETIME
DECLARE @EndTime DATETIME

SELECT I.IncidentId,
I.CFScompanyname,
I.New_created_time,
E.createdon

FROM dbo.IncidentExtensionBase I
INNER JOIN dbo.IncidentBase E on I.IncidentId = E.IncidentId

WHERE E.createdon >= @StartDate AND
E.createdon <= @EndDate AND
E.createdon >= @StartTime AND
E.createdon <= @EndTime;

Could someone please let me know how I prompt the user for this data.

Thank you very much.

View 5 Replies View Related

Prompt In Query Analyser

Feb 5, 2007

Is there antway I can get the Query Analyser to prompt me with a message saying '234 records will be updated' and then give me the option to continue or not.

I want to run an update query but want to see how many records it will update first.

View 7 Replies View Related

BCP Problem Using Command Prompt

Mar 26, 2008

I am have trouble configuring developer edition when trying to run a Bulk Copy through Command Prompt. I have configured remote connections within the surface area configuration and have created a firewall exception

I enter and run

bcp FileImportDB..Exam in "c:FileImportPracticeExamImportFile.txt" -T -c

then i get the following error message

Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:UsersDineen>bcp FileImportDB.Exam in "c:FileImportPracticeExamImportFile.t
xt" -T -c
SQLState = 08001, NativeError = 2
Error = [Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server [2].
SQLState = HYT00, NativeError = 0
Error = [Microsoft][SQL Native Client]Login timeout expired
SQLState = 08001, NativeError = 2
Error = [Microsoft][SQL Native Client]An error has occurred while establishing a
connection to the server. When connecting to SQL Server 2005, this failure may
be caused by the fact that under the default settings SQL Server does not allow remote connections.

I am running developer edition on vista and Service pack 2, iam connecting to my instance with no problem.

Can someone please help

Kind regards

Rob

View 6 Replies View Related

Stop Replication In Cmd Prompt

Feb 8, 2006

is it possible to stop replication in cmd prompt for MSSQL2005? Thanks in advance!

View 1 Replies View Related

Getting A Report To Prompt For A Date

Apr 22, 2008

I am trying to get add a parameter to my code so that when the report is run, a dialog box pops up and asks for the date.

The tutorial only seems to talk about parameters as filters, rather than variables. Is there a way to do this?




View 5 Replies View Related

User Report Prompt

Oct 15, 2007

I'm a very basic user to VSS 2005 and I've created a simple report to display our customer master table. The problem is that we have 1000's of customers, but the report must scroll page by page.

I'd like to prompt the user with:

"Customer code starts with:"

Can you tell me how to do this using the field:


=Fields!custnmbr.Value

View 1 Replies View Related

How To Avoid Credential Prompt

Nov 23, 2007

hi all
any one can tell me to avoid credential prompt i.e. uid & pwd when the first time going to render report from the reporting server

View 4 Replies View Related

BIDS: Reports With Prompt

Oct 4, 2007



Hi anyone:

I'm actually developing a report with some dates on it. I want that when I run this report, a prompt (a window) appears requesting a date (or at least it could be good if a list appears and I can select one of them). Do you have any idea about how can I do that?.

Thanks in advance,

Pat

View 3 Replies View Related

Calling Commands From The Cmd Prompt

Aug 31, 2006

I have a series of commands that I need to run which decrypt, unzip, and rename

They are all one line commands when entered on the cmd prompt, is there an easy way to do this in ssis or should i write an exe and call them from there?

Thanks

View 11 Replies View Related

Copy? Export? How To Copy Stored Procedures

Aug 30, 2005

How do I transfer/copy the stored procedures in my Test DB to my LIVE DB?  IT won't allow me to export keeps giving me an error. 

View 4 Replies View Related

Copy A Database With Copy The .mdf File And Attaching It With A New Name?

Nov 4, 2006

Hello,

if i have a given database (a model) and i want to copy this database in the same database instance. Is it ok to copy the mdf and ldf file and attach the files with a new database name in the same instance.

Or is the datebase name part of the .mdf file?

Regards
Markus





View 6 Replies View Related







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