Viewing 15 posts - 121 through 135 (of 199 total)
Hi Amira,
In Query Analyzer, go to -> Tools -> Options -> Hit the Connection Properties tab.
Then check the 'Set quoted identifier' box on your machine and apply it.
You should all...
Steve
We need men who can dream of things that never were.
December 15, 2004 at 9:15 am
Hi,
Example with your existing code:-
Update ViewWeeklyFormUpdate
Declare @sql nvarchar(4000),
@RandomisedNumber decimal
Set Form =
SET @sql = N'SET @RandomisedNumber = rand() * 2'
EXEC sp_executesql @sql, N'@RandomisedNumber decimal OUTPUT', @RandomisedNumber...
Steve
We need men who can dream of things that never were.
December 15, 2004 at 3:13 am
Hi Guys,
I know there will be loads of abuse for this but had to do it.........
You can make rand work on multiple occaisions in one sp - by using a bit...
Steve
We need men who can dream of things that never were.
December 14, 2004 at 8:42 am
![]()
My mind is in the twighlight zone.
Another one of those friday feelings... This is what happens when 'they' swop you over from 2 months...
Steve
We need men who can dream of things that never were.
December 3, 2004 at 6:07 am
Yep,
Ran perfectly first time.
Results in message window:
(4 row(s) affected)
(4 row(s) affected)
Steve
We need men who can dream of things that never were.
December 3, 2004 at 4:46 am
Guys, guys, guys,
Pls take a look at the data, then re-create it. A normal, simple ORDER BY works perfectly well when I run it.
Results (as posted earlier):
RKA10
RKA100
RKA11
RMX10
RMX100
RMX11
RSA12
RSA120
RSA139
RSBH01
As you and I...
Steve
We need men who can dream of things that never were.
December 3, 2004 at 4:42 am
Hi Frank,
I dont think the UDF is necessary here - just look at the order the data is being sorted into.
If you replicate the ORDER BY with the same data, you...
Steve
We need men who can dream of things that never were.
December 2, 2004 at 4:06 am
Hi Sunny,
Could you pls drop an example of your code in. Must be a bit of a weird one this - I put your data into a varchar field in...
Steve
We need men who can dream of things that never were.
December 2, 2004 at 3:12 am
Sunny,
Hate to be pedantic but........
A normal ORDER BY statement such as:
SELECT * FROM tblNames ORDER BY NameFirst ASC
Will select in the order 1st character, 1st and 2nd character, 1st, 2nd...
Steve
We need men who can dream of things that never were.
December 1, 2004 at 8:30 am
Give us a clue, what order do you want - Numerical, Alphabetical or something completely obscure
.....?
Steve
We need men who can dream of things that never were.
December 1, 2004 at 5:18 am
Tyson,
I take it you meant - Right Click 'Query Analyser', then left click 'Properties'.
Just for those of you wondering why you keep getting Query Analyser up.........![]()
Steve
We need men who can dream of things that never were.
November 30, 2004 at 9:47 am
Hi,
Sorry, don't get the full idea of what you are trying to achieve with this - could you please expand a little further.....
Steve
We need men who can dream of things that never were.
November 30, 2004 at 8:24 am
Sorry matey,
This is a Sequel Server forum - if it works in Sequel 7 - its good enough for me........
![]()
Have fun
Steve
We need men who can dream of things that never were.
November 30, 2004 at 7:17 am
Without looking into it too deeply (only 'cos I havent got the time at the mo') - I think you need to use the attachments collection of the CDO object library to...
Steve
We need men who can dream of things that never were.
November 30, 2004 at 7:10 am
Hi,
You cant access an existing password protected Excel file as it is encrypted.
You will be able to get around this by using an activeX script task to create the file, then pass...
Steve
We need men who can dream of things that never were.
November 30, 2004 at 4:07 am
Viewing 15 posts - 121 through 135 (of 199 total)