Re: SQL Join & Data group output

2007-01-16 Thread Richard Cooper
That'd be great. I'm using SQL Server 2000. ~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/fle

Re: SQL Join & Data group output

2007-01-16 Thread Teddy Payne
What Database are you using for this? I can whip this out in a quick stored procedure using SQL Server using table variables. Teddy On 1/16/07, Richard Cooper <[EMAIL PROTECTED]> wrote: > > Unfortunately, yes > > ~| Create ro

Re: SQL Join & Data group output

2007-01-16 Thread Richard Cooper
Unfortunately, yes ~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive:

Re: SQL Join & Data group output

2007-01-16 Thread Teddy Payne
Will the number of services be dynamic? Teddy On 1/16/07, Richard Cooper <[EMAIL PROTECTED]> wrote: > > Hi all, > > This explanation is a bit long but it kind of needed it to explain what I > was trying to achieve. > > I have three tables which I would like to join for use within creating a > ta

Re: SQL Query

2007-01-11 Thread gert franz
Hi Pete, could it be that one of the advertisers is in more than one category? Just dump the query and look at the repeating entries. There will be some of the columns that change from record to record. Even though you think they are identical. Gert > Hi there >  > I have a query that I have d

Re: SQL Server Error 8179: Could not find prepared statement with handle x

2007-01-09 Thread George Abraham
Thanks, George On 1/9/07, Richard Kroll <[EMAIL PROTECTED]> wrote: > > The drivers we used are located at http://jtds.sourceforge.net/ > > Rich Kroll > > ~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusio

RE: SQL Server Error 8179: Could not find prepared statement with handle x

2007-01-09 Thread Richard Kroll
The drivers we used are located at http://jtds.sourceforge.net/ Rich Kroll > -Original Message- > From: George Abraham [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 09, 2007 10:02 AM > To: CF-Talk > Subject: Re: SQL Server Error 8179: Could not find prepared statemen

Re: SQL Server Error 8179: Could not find prepared statement with handle x

2007-01-09 Thread George Abraham
Hmm, we did have other problems with the current drivers we are using that was shipped with the product by (then) Macromedia. Mayve we can look at this driver you mention. Thanks, George On 1/9/07, Richard Kroll <[EMAIL PROTECTED]> wrote: > > George, > We ran into the same problem a few months ag

RE: SQL Server Error 8179: Could not find prepared statement with handle x

2007-01-09 Thread Richard Kroll
George, We ran into the same problem a few months ago. What we found was the error was thrown on random queries that had CFQUERYPARAMs in them (which was almost every query in our application). Somewhere on the net I found an article explaining that it had something to do with the drivers. We s

Re: SQL Server - starting integer at 1000

2007-01-03 Thread Will Tomlinson
thanks guys!! Will ~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive:

Re: SQL Server - starting integer at 1000

2007-01-03 Thread Pete Freitag
Hi Will, Set the identity seed to 1000 in enterprise manager. -- Pete Freitag http://foundeo.com/ - ColdFusion Consulting & Products http://petefreitag.com/ - My Blog http://spendfish.com/ - Fish for Deals On 1/3/07, Will Tomlinson <[EMAIL PROTECTED]> wrote: > I've decided to change an orderID

RE: SQL Server - starting integer at 1000

2007-01-03 Thread Adkins, Randy
In SQL Server, open the table in Design mode, select the field and set it to Identity and set the SEED to 1000. -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 03, 2007 7:58 AM To: CF-Talk Subject: SQL Server - starting integer at 1000 I've

Re: SQL Injection Script

2006-12-22 Thread Rey Bango
Hi Claude, The safeText() method that I pass the url param to fails if I don't wrap the url param in HTMLEditFormat(). So something really hokey is happening and my only assumption is that its being truncated at some point. So unfortunately, its not only relegated to output but also non-displa

Re: SQL Injection Script

2006-12-22 Thread Claude Schneegans
>>I used HTMLEditFormat() and it finally pulled out I SWEAR I didn't read your last message when I answered the first ;-) -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [

Re: SQL Injection Script

2006-12-22 Thread Claude Schneegans
>>I've tried all different types of variations to ensure that the passed data is preserved but its being truncated somehow. How do you know it is truncated? If you just output it without using HTMLEditFormat(), the

Re: SQL Injection Script

2006-12-22 Thread Rey Bango
I'm using CFMX 6.1. :o) Robertson-Ravo, Neil (RX) wrote: > Doesn't CF7 provide out of the box features to stop this from happening. I > > > > > > > > > "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, > Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed B

Re: SQL Injection Script

2006-12-22 Thread Rey Bango
Good morning, Jochem. I used HTMLEditFormat() and it finally pulled out the full value as opposed to the truncated one. Rey... Jochem van Dieten wrote: > Rey Bango wrote: >> and the value of the query param translates to: >> >> '") >> >> But when I go to use it in the code, I'm getting this: >>

Re: SQL Injection Script

2006-12-22 Thread Robertson-Ravo, Neil (RX)
t: Fri Dec 22 11:27:45 2006 Subject: Re: SQL Injection Script >Doesn't CF7 provide out of the box features to stop this from happening. Read the docs, I'll bet the answer to your question lies there. Hahahahaha! Couldn&#x

Re: SQL Injection Script

2006-12-22 Thread Will Tomlinson
>Doesn't CF7 provide out of the box features to stop this from happening. Read the docs, I'll bet the answer to your question lies there. Hahahahaha! Couldn't help it Neil. :) Will ~| Create robust enterprise, web RIAs. Upg

Re: SQL Injection Script

2006-12-22 Thread Jochem van Dieten
Rey Bango wrote: > >and the value of the query param translates to: > >'") > >But when I go to use it in the code, I'm getting this: > >URL Parameters: >C1='") Is that all you get, or is that all your browsers shows you? Jochem

Re: SQL Injection Script

2006-12-22 Thread Robertson-Ravo, Neil (RX)
Doesn't CF7 provide out of the box features to stop this from happening. I "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is

RE: SQL Concetenation inside CFQuery

2006-12-13 Thread Mark Leder
Thanks to everyone for your help! These work perfectly. Mark [This E-mail scanned for viruses by Declude EVA] ~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclic

RE: SQL Concetenation inside CFQuery

2006-12-13 Thread Andy Matthews
Use the COALESCE function. It returns the first non-null value: SELECT COALESCE(mycolumn, "default value") AS someField FROM table_name If any row for the mycolumn field returns null, the null value will replaced with the string "default value". -Original Message- From: Mark Leder [mai

Re: SQL Concetenation inside CFQuery

2006-12-13 Thread Gert Franz
Yes... Use IsNull() This changes your example as follows: SELECT U.userID, U.userFirstName, U.userMiddleName, U.userLastName, (U.userFirstName + SPACE(1) + IsNull(U.userMiddleName + SPACE(1), "") + U.userLastName) AS assignedName FROM a_Table Greetings / Grüsse Gert Franz Customer Care R

Re: SQL Concetenation inside CFQuery

2006-12-13 Thread Jim Wright
Mark Leder wrote: > I'm using this cfquery to pull records from an MSSQL 2005 db: > > SELECT U.userID, U.userFirstName, U.userMiddleName, U.userLastName, > (U.userFirstName + SPACE(1) + U.userMiddleName + SPACE(1) + U.userLastName) > AS assignedName >FROM a_Table > > It works great, with o

Re: SQL Server 2005 JDBC Driver

2006-12-09 Thread Jochem van Dieten
Tim Claremont wrote: > I am running CFMX 7.1 on Win2k3 Server with SQL Server 2005 CF MX 7.0 or CF MX 6.1? > I just installed SQL Server 2005, and I am unable to connect to it > with the JDBC Driver. I have downloaded the driver from MS, and > followed the instructions in the CF TechNote on th

RE: SQL getting the next available ID

2006-12-07 Thread Bobby Hartsfield
#jUDate.getTime()# ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Thursday, December 07, 2006 3:25 PM To: CF-Talk Subject: RE: SQL getting the next available ID What he said... I also

RE: SQL getting the next available ID

2006-12-07 Thread Bobby Hartsfield
rsday, December 07, 2006 11:28 AM To: CF-Talk Subject: Re: SQL getting the next available ID yes thats what he's saying. Since you create the UUID yourself with createuuid() you can reference it early and often anytime, without any added cfqueries or whatever. I like to use a replace funct

Re: SQL getting the next available ID

2006-12-07 Thread Matt Robertson
yes thats what he's saying. Since you create the UUID yourself with createuuid() you can reference it early and often anytime, without any added cfqueries or whatever. I like to use a replace function to remove the underscores from the uuid, but thats as much personal preference as it is anything

Re: SQL getting the next available ID

2006-12-07 Thread Doug Brown
I am using SQL2K. I am not quite sure I am following the createUUID() Are you saying to use this value as the adid versus using auto increment? Regards, Doug ~| Create robust enterprise, web RIAs. Upgrade & integrat

RE: SQL getting the next available ID

2006-12-07 Thread Bobby Hartsfield
ou wanted to do. ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Thursday, December 07, 2006 9:49 AM To: CF-Talk Subject: Re: SQL getting the next available ID Bobby, So basically what I would do is add a column to my advertisem

Re: SQL getting the next available ID

2006-12-07 Thread Doug Brown
From: "Bobby Hartsfield" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Thursday, December 07, 2006 7:28 AM Subject: RE: SQL getting the next available ID > Entering it temporarily will ensure that it isn't used again... ever > > Also, a simple flag like 'verified&

RE: SQL getting the next available ID

2006-12-07 Thread Bobby Hartsfield
Entering it temporarily will ensure that it isn’t used again... ever Also, a simple flag like 'verified' as a bit field would make it easier than having 2 separate tables for verified and unverified ads. Enter all of the info and set the verified flag to 0. Once the user verifies it, you can set

Re: SQL getting the next available ID

2006-12-07 Thread JediHomer
Why not set your ID to be a uniqueue identifier, then generate the ID with CF... This should keep the ID unique for that Add... On 07/12/06, Doug Brown <[EMAIL PROTECTED]> wrote: > I am needing to get the next available ID from my (permanent)advertisements > table and be able to hang onto it un

Re: Sql aggregate woes

2006-12-03 Thread Dina Hess
:) know the feeling, jim...i completely overlooked the distinct, left out a comma between the fields, and left out the table name even though it was right there...lol. all of this snow up here must be affecting my brain cells...all 2 of them. oh, well, at least terry got some valuable feedback on t

RE: Sql aggregate woes

2006-12-03 Thread Terry Troxel
Thanks all of you. Wow, I really enjoy this list when you all pitch in and help each other like you just did. Really Appreciate it. Terry -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Sunday, December 03, 2006 8:20 AM To: CF-Talk Subject: Re: Sql aggregate woes

Re: Sql aggregate woes

2006-12-03 Thread Jim Wright
Jim Wright wrote: > SELECT inventory.ItemNumber, SUM(inventory.qty) as > invqty > FROM inventory > GROUP BY inventory.ItemNumber > HAVING SUM(inventory.qty) > 0 > oops...told you to take the DISTINCT out, and then left it in...see above. ~~

Re: Sql aggregate woes

2006-12-03 Thread Jim Wright
Terry Troxel wrote: > I am having a senior moment and could use some help with a > sql select query I am attempting to use to populate a > listbox with only those items that have inventory. > > SELECT DISTINCT inventory.ItemNumber, SUM(inventory.qty) as > invqty where invqty > 0 > > And I get the

Re: Sql aggregate woes

2006-12-03 Thread Dina Hess
select distinct i.itemnumber sum(i.qty) as invqty from [your inventory table name here] i group by i.itemnumber having sum(i.qty) > 0 On 12/3/06, Terry Troxel <[EMAIL PROTECTED]> wrote: > > I am having a senior moment and could use some help with a > sql select query I am attempting to us

RE: Sql aggregate woes

2006-12-03 Thread Sandra Clark
SELECT DISTINCT inventory.ItemNumber, SUM(inventory.qty) as invqty where invqty > 0 GROUP BY inventory.ItemNumber. All items not aggregated in a select must be also placed in a Group By Clause. Sandra Clark == http://www.shayna.com Training in Cascading Style Sheets

RE: SQL question

2006-11-30 Thread Gaulin, Mark
That looks like the right/only way to do it as far as I know. Mark -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED] Sent: Thursday, November 30, 2006 11:02 AM To: CF-Talk Subject: OT: SQL question I am not a MS SQL guru and this bit of SQL is about as advanced as I g

Re: SQL sums and joins

2006-11-29 Thread Richard Cooper
Thanks Gert, that did the trick. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthorit

Re: SQL sums and joins

2006-11-29 Thread Gert Franz
Sorry, I grouped over the DateAdded Field too. You have to remove it from the Select and Group BY statement. Gert Richard Cooper schrieb: > Hi, > > I have a table (ordersonline) that may have multiple entries for each client > within the client table (clients). > > I wanted to be able to see th

Re: SQL sums and joins

2006-11-29 Thread Gert Franz
Hi Richard, in order to get the sum of all details in the ord table you should not group over fields in the ord table that are not equal for each client. So if you do something like this: SELECT COUNT(ORD.orderID) AS numbProducts, CLI.fname, CLI.sname, CLI.city, CLI.clientID, SUM(ORD.price

RE: SQL Problem

2006-11-16 Thread Mark Leder
That works too. Thanks Dave. Thanks, Mark -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 11:56 AM To: CF-Talk Subject: RE: SQL Problem > I'm stumped on this. How to I retrieve records that do not match (I'm > wa

RE: SQL Problem

2006-11-16 Thread Mark Leder
Jim, Thank you, that worked perfectly. Admittedly, I get confused by the LEFT/ON attribs in queries. Thanks, Mark -Original Message- From: Jim Wright [mailto:[EMAIL PROTECTED] Sent: Thursday, November 16, 2006 11:56 AM To: CF-Talk Subject: Re: SQL Problem Mark Leder wrote: >

Re: SQL Problem

2006-11-16 Thread Aaron Roberson
You could use the GROUP BY and count() function. See http://www.petefreitag.com/item/169.cfm HTH, Aaron On 11/16/06, Mark Leder <[EMAIL PROTECTED]> wrote: > I'm stumped on this. How to I retrieve records that do not match (I'm > wanting to display orphaned Companies that are not associated with >

Re: SQL Problem

2006-11-16 Thread Gert Franz
Try this: SELECT company, companyID, companyCity, companyState, companyZip, FROM dbTable_Clients_Companies_List WHERE companyID Not in (Select companyID From dbtable_Clients_Projects_List) ORDER BY company ASC this sould do... Greetings / Grüsse Gert Franz Customer Care Railo Technologies GmbH

Re: SQL Problem

2006-11-16 Thread Jim Wright
Mark Leder wrote: > I'm stumped on this. How to I retrieve records that do not match (I'm > wanting to display orphaned Companies that are not associated with > Projects). Tried <> and using NOT and NOT IN() without success. > > SELECT C.company, C.companyID, C.companyCity, C.companyState, C.com

RE: SQL Problem

2006-11-16 Thread Dave Watts
> I'm stumped on this. How to I retrieve records that do not > match (I'm wanting to display orphaned Companies that are not > associated with Projects). Tried <> and using NOT and NOT > IN() without success. > > SELECT C.company, C.companyID, C.companyCity, C.companyState, > C.companyZip, >

RE: Sql error during insert

2006-11-15 Thread Richard Colman
-Original Message- From: "Doug Brown" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: 11/14/06 7:17 PM Subject: Sql error during insert I do not recall seeing this before. Could someone tell me what I am doing wrong? I get the following error while executing this query. Error Executing Da

Re: Sql error during insert

2006-11-14 Thread Doug Brown
Thanks. I hate it when the little stuff haunts you -) Doug - Original Message - From: "Bobby Hartsfield" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Tuesday, November 14, 2006 8:21 PM Subject: RE: Sql error during insert > You are mis

Re: Sql error during insert

2006-11-14 Thread Doug Brown
Never mind...I missed a closing ) on my query. Geez looked at it forever. D.B - Original Message - From: "Doug Brown" <[EMAIL PROTECTED]> To: "CF-Talk" Sent: Tuesday, November 14, 2006 8:15 PM Subject: Sql error during insert > I do not recall seeing this before. Could someone tell m

RE: Sql error during insert

2006-11-14 Thread Bobby Hartsfield
You also need to specify the delimiter in your loop as a | ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Crow T. Robot [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 14, 2006 10:22 PM To: CF-Talk Subject: Re: Sql error during insert If

RE: Sql error during insert

2006-11-14 Thread Bobby Hartsfield
You are missing a ) after the queryparam ..:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Doug Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 14, 2006 10:15 PM To: CF-Talk Subject: Sql error during insert I do not recall seeing this

Re: Sql error during insert

2006-11-14 Thread Crow T. Robot
If this is a true "copy and paste", you're missing your ending ')' in the VALUES statement. On 11/14/06, Doug Brown <[EMAIL PROTECTED]> wrote: > > I do not recall seeing this before. Could someone tell me what I am doing > wrong? I get the following error while executing this query. > > Erro

RE: SQL Server 2005 vs MySQL 5?

2006-11-14 Thread Munson, Jacob
> > Some of my frustrations with MySQL are: > > - Only 1 query per > > I happen to think that is a good thing :) Sorry, I have to jump in here. I agree with this, it is a good thing. They don't allow multiple queries because to do so is a security risk. But I always laugh because whenever I bri

Re: SQL Server 2005 vs MySQL 5?

2006-11-13 Thread Adrian Moreno
> Some of my frustrations with MySQL are: > - Only 1 query per MySQL can handle multiple queries, it's just disabled by default. Cameron Childress has a post about this. MySQL: How to Combine Multiple SQL Statements in One CFQUERY http://www.sumoc.com/blog/index.cfm?mode=entry&entry=7F6F7314-50

Re: SQL Server 2005 vs MySQL 5?

2006-11-13 Thread Jochem van Dieten
Matthew Chambers wrote: > > Some of my frustrations with MySQL are: > - Only 1 query per I happen to think that is a good thing :) > - Unable to handle complex join queries e.g. I ran a complex query in > a trail version of SQL Server 2000 and it returned in 3 seconds, it > took 33 mins in M

RE: SQL Server 2005 vs MySQL 5?

2006-11-12 Thread Snake
To cut your cost for SQL Server find an SPLA partner and pay $10 month instead. Russ -Original Message- From: Matthew Chambers [mailto:[EMAIL PROTECTED] Sent: 12 November 2006 23:57 To: CF-Talk Subject: SQL Server 2005 vs MySQL 5? Hi, I've been working on a website built using MySQL a

Re: SQL Self join probelm

2006-11-06 Thread Richard Cooper
Hi, This has been solved (sort of). I edited some data in the DB and it started to work. Thanks for the help. Richard ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion informa

Re: SQL Self join probelm

2006-11-06 Thread Richard Cooper
Hi Jochem, Thought you had it but unfortunately the end result was the same. It's really weird why the join affects the other table. Do you have any other ideas? Richard ~| Introducing the Fusion Authority Quarterly Update. 80

Re: SQL Self join probelm

2006-11-06 Thread Jochem van Dieten
Richard Cooper wrote: > > i.e. results for CP1 disappear when I uncomment out the either of the > two and statements. > SELECTCP1.pageID > ,CP1.pageGroupID > ,CP1.subGroupID > ,CP1.pageTitle > ,CP1.alternativeLink > ,

Re: SQL while loop

2006-10-28 Thread Jim Wright
Richard Cooper wrote: > Hi All, > > How would I turn this into an SQL while loop rather than a nested query? I > never used while loops and can't quite suss it. > > Here's the code: > > > > SELECTpriority, serviceID > FROM TPSservices > WHERE active = '1' > AND priority >

RE: SQL Question

2006-10-23 Thread Andy Matthews
You could also do: SELECT MAX(thedate) FROM yourtable -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED] Sent: Sunday, October 22, 2006 9:05 AM To: CF-Talk Subject: SQL Question Im a little burnt out need some help. If I query a table that tracks the number of times a

RE: SQL Question

2006-10-22 Thread Chad Gray
Thanks Kris! That makes sense. > -Original Message- > From: Kris Jones [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 22, 2006 10:12 AM > To: CF-Talk > Subject: Re: SQL Question > > select top 1 * > from tablename > order by datefield desc > >

Re: SQL Question

2006-10-22 Thread Kris Jones
select top 1 * from tablename order by datefield desc On 10/22/06, Chad Gray <[EMAIL PROTECTED]> wrote: > Im a little burnt out need some help. > > If I query a table that tracks the number of times a book was checked out and > returned. I want to get the most recent item in the table to f

Re: SQL compare software

2006-10-18 Thread Mary Jo Sminkey
>Remember that the database is the most important part of the Web site, >and you don't want to use any tool that may have some bug that could >result in data loss. Very true. I only mention the product that I use because it is considerably cheaper for what it does and because the issues I have h

Re: SQL compare software

2006-10-18 Thread Robertson-Ravo, Neil (RX)
Reed Exhibitions." Visit our website at http://www.reedexpo.com -Original Message- From: Mike Chabot To: CF-Talk Sent: Wed Oct 18 17:41:47 2006 Subject: Re: SQL compare software Remember that the database is the most important part of the Web site, and you don't want to use any too

Re: SQL compare software

2006-10-18 Thread Jim Wright
Mike Chabot wrote: > Remember that the database is the most important part of the Web site, > and you don't want to use any tool that may have some bug that could > result in data loss. I believe that RedGate does a good job with QA > testing and they have been supporting their software for a long

Re: SQL compare software

2006-10-18 Thread Mike Chabot
Looks like I have to get crackin on these > suggestions. > > > -Original Message- > > From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, October 18, 2006 10:19 AM > > To: CF-Talk > > Subject: Re: SQL compare software > > > > &

RE: SQL compare software

2006-10-18 Thread Ray Champagne
Thanks for all the replies. Looks like I have to get crackin on these suggestions. > -Original Message- > From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 18, 2006 10:19 AM > To: CF-Talk > Subject: Re: SQL compare software > > >Try T

Re: SQL compare software

2006-10-18 Thread Mary Jo Sminkey
>Try Teratrax SQL Compare. It just came out of beta. It's not as polished >as Red-Gate's tools, but it's cheaper, and it's all one product (both schema >and data compare). I'm using DB Explorer. It also is a lot cheaper and does both the schema and data compare and synchronize. I've run into

RE: SQL compare software

2006-10-18 Thread Robertson-Ravo, Neil (RX)
Also have a butchers at ApexSQL - quite nice though I think Redgate is the defacto standard, -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: 18 October 2006 15:17 To: CF-Talk Subject: RE: SQL compare software Try Teratrax SQL Compare. It just came out of beta. It&#

RE: SQL compare software

2006-10-18 Thread Russ
Try Teratrax SQL Compare. It just came out of beta. It's not as polished as Red-Gate's tools, but it's cheaper, and it's all one product (both schema and data compare). It still doesn't work for one of my tables, and I haven't really been using it in depth, but once my RedGate's Trial is over,

RE: SQL compare software

2006-10-17 Thread Jenny Gavin-Wear
Hi Ray, I agree, I've been using them for the past month or so. I've upgraded to the Professional version for the command line functionality. Means I can update however many sites in one go rather have to process each project separately, saves even more time. The SQL Data Compare is also a drea

Re: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?

2006-10-08 Thread Dan Plesse
It mainly shows a way to make your code more compact and reading stuff from a properties file and using that infomation in your JDBC connection. Does SQL server send out information when it restarts? If isClosed() is YES sever is down and another check or ping isClosed() No means it's back. ~

RE: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?

2006-10-08 Thread blists
Hi Dan, I'm confused, how is this code intended to work? Does it keep the connection with the new principle? What is the server was restarted. blists -Original Message- From: Dan Plesse [mailto:[EMAIL PROTECTED] Sent: October 7, 2006 11:36 PM To: CF-Talk Subject: Re: SQl Server 2

Re: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?

2006-10-08 Thread Dan Plesse
And finally if isClosed() equals YES then its closed and a NO means its open. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered

Re: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?

2006-10-07 Thread Dan Plesse
I think this is it. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.co

Re: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?

2006-10-07 Thread Dan Plesse
You can also use java util props and keep shrinking the code until you get one line. Like the CF classLoader, one line is all you need! It would interesting if you load these lines into CF from a props file. Call it sql_server.properties

RE: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?

2006-10-07 Thread blists
ion()# Database Name:#DatabaseMetaData.getDatabaseProductName()# Database Version: #DatabaseMetaData.getDatabaseProductVersion()# -Original Message- From: blists [mailto:[EMAIL PROTECTED] Sent: October 5, 2006 12:05 PM To: CF-Talk Subject: RE: SQl Server 2005 w/ Mirroring. How does CF know when t

RE: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?

2006-10-05 Thread blists
PM To: CF-Talk Subject: RE: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror? > I am just doing some research into this. With SQL Server 2005 > and mirroring, the mirror will automatically take over if the > primary/principle server fai

RE: SQl Server 2005 w/ Mirroring. How does CF know when to 'failo ver' to the mirror?

2006-10-04 Thread Dave Watts
> I am just doing some research into this. With SQL Server 2005 > and mirroring, the mirror will automatically take over if the > primary/principle server fails. But if you the datasource > references the principle SQL Servers name, and that server > was down, how would it failover? > > The on

Re: SQL 2005 using .sql file for new db

2006-10-03 Thread Jim Wright
Dave Watts wrote: >> Thanks Dave. You said "open Query Analyzer and run the file". >> I don't see where in QA I can open a file... > > I don't have it in front of me, but I'm pretty sure there's an option to > open a text file. If you can't find it, you could open the file in Notepad, > then copy

RE: SQL ''Invalid Object Name'' on Insert, after Create Table

2006-10-03 Thread Bobby Hartsfield
October 03, 2006 10:22 AM To: CF-Talk Subject: Re: SQL ''Invalid Object Name'' on Insert, after Create Table Thanks for the suggestions so far. I'll try them now. Here's the code: IF object_id('aaa_bwdatadump..djbtest') IS NOT NULL BEGIN DROP TAB

Re: SQL 'Invalid Object Name' on Insert, after Create Table

2006-10-03 Thread Teddy Payne
When you modify the schema, are you performing this from a cfquery block? If you are, put the schema modification in a stored procedure for purposes of security, speed and abstraction. Teddy On 10/3/06, Bobby Hartsfield <[EMAIL PROTECTED]> wrote: > > I've seen that happen on a database that was m

Re: SQL ''''Invalid Object Name'''' on Insert, after Create Table

2006-10-03 Thread Derek Bezuidenhout
It had to happen. For some reason I had 'quotes' around the col-name in the Insert. D'oh! Sorry to waste space... > > INSERT INTO #getuser.owner#.djbtest ('id') > VALUES ('sdfasdfafasdfasfd') > > ~| Introducing the F

Re: SQL ''Invalid Object Name'' on Insert, after Create Table

2006-10-03 Thread Derek Bezuidenhout
Thanks for the suggestions so far. I'll try them now. Here's the code: IF object_id('aaa_bwdatadump..djbtest') IS NOT NULL BEGIN DROP TABLE djbtest END CREATE TABLE dbo.djbtest ( id varchar(200) ) SELECT * from djbtest SELECT name, xtype, uid AS [owner id], USER_NAME(ui

RE: SQL 'Invalid Object Name' on Insert, after Create Table

2006-10-03 Thread Bobby Hartsfield
I've seen that happen on a database that was moved from one server to another where user names/passwords were different in the Enterprise Manager/CF Admin. Check those first... should be pretty easy to spot. Open the enterprise manager and view the tables in that particular database scan down

RE: SQL 'Invalid Object Name' on Insert, after Create Table

2006-10-03 Thread Brad Wood
Don't know if it matters, but are you opening a transaction before you create the table, and trying to insert while that transaction is still open? Is this MS SQL Server? If so, is there a "Go" command after the table creation? Just random thoughts. ~Brad -Original Message- From: Derek

RE: SQL 'Invalid Object Name' on Insert, after Create Table

2006-10-03 Thread Adrian Lynch
Can you create a physical table and insert into it in the same batch? I'm not sure you can. Show us the code. Adrian -Original Message- From: Derek Bezuidenhout [mailto:[EMAIL PROTECTED] Sent: 03 October 2006 14:50 To: CF-Talk Subject: SQL 'Invalid Object Name' on Insert, after Create Ta

RE: SQL 2005 using .sql file for new db

2006-10-02 Thread Dave Watts
> Thanks Dave. You said "open Query Analyzer and run the file". > I don't see where in QA I can open a file... I don't have it in front of me, but I'm pretty sure there's an option to open a text file. If you can't find it, you could open the file in Notepad, then copy and paste into the T-SQL wi

Re: SQL 2005 using .sql file for new db

2006-10-02 Thread marc --
Thanks Dave. You said "open Query Analyzer and run the file". I don't see where in QA I can open a file... >It's called "Query Editor" now, and it's inside SQL Server Management >Studio. igleaf.com/ for more information! ~| Intr

RE: SQL 2005 using .sql file for new db

2006-10-02 Thread Dave Watts
> This is SQL 2005 - not 2000. Where can I find query analyzer? It's called "Query Editor" now, and it's inside SQL Server Management Studio. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training c

Re: SQL 2005 using .sql file for new db

2006-10-02 Thread marc --
This is SQL 2005 - not 2000. Where can I find query analyzer? >> I have a database dump (> 900MB> in a .sql file. It has all >> the sql to create a database and put data in. I want to use >> it to make a db in SQL 2005 but can't find a way to do this >> using import data / transact SQL etc. Doe

RE: SQL 2005 using .sql file for new db

2006-10-02 Thread Dave Watts
> I have a database dump (> 900MB> in a .sql file. It has all > the sql to create a database and put data in. I want to use > it to make a db in SQL 2005 but can't find a way to do this > using import data / transact SQL etc. Does anyone know how to > do this? If the file contains a CREATE DAT

Re: SQL Server Upgrade and Coldfusion

2006-09-21 Thread Rick Root
JediHomer wrote: > As far as can remember, if you use the short hand for outer joins... e.g. > > select * > from member, payment > where member.id *= payment.member_id > > Aren't supported by default, you have to change something on the server... > > I believe this is blogged on Ben Forta's Blog

RE: SQL Server 2005

2006-09-21 Thread Steve LaBadie
:54 AM To: CF-Talk Subject: Re: SQL Server 2005 Steve LaBadie wrote: > I have upgraded my web server from Access to SQL Server. Is there a GUI > interface for creating tables and database similar to Access? > In addition to Management Studio, you can use Access to manage a SQL databa

RE: SQL Server 2005

2006-09-21 Thread Robertson-Ravo, Neil (RX)
Express Edition is a different tool. You don't need it if you have the full standard version -Original Message- From: Steve LaBadie [mailto:[EMAIL PROTECTED] Sent: 21 September 2006 16:54 To: CF-Talk Subject: RE: SQL Server 2005 I did install Management Studio, so I assume I d

<    5   6   7   8   9   10   11   12   13   14   >