Viewing 15 posts - 4,666 through 4,680 (of 6,036 total)
I wonder why MS does not restrict altering more than one column within one month.
_____________
Code for TallyGenerator
December 12, 2006 at 9:59 pm
I think he ment this:
SELECT *
FROM yourtable
WHERE Dep_name = 'prod'
ORDER BY Member_Name
SELECT *
FROM yourtable
WHERE...
_____________
Code for TallyGenerator
December 12, 2006 at 8:57 pm
SELECT QUOTENAME('abc[]def', '"')
_____________
Code for TallyGenerator
December 12, 2006 at 5:04 pm
Debra, take a break and spend several minutes learning SQL syntax.
declare @weight varchar(20)
set @weight = 5
declare @sql varchar(8000)
set @sql = 'select [' + @weight + '] from shippingrates with (NOLOCK)'
PRINT...
_____________
Code for TallyGenerator
December 12, 2006 at 3:41 pm
Copying images to audit table is not such a brilliant idea.
It's huge overhead which will slow down the system significantly.
But if you really sure you need to do it then...
_____________
Code for TallyGenerator
December 12, 2006 at 2:20 pm
December 12, 2006 at 2:12 pm
To make it universal and manageable:
SELECT t.rowid, n.Number
FROM t
INNER JOIN [Numbers] n
INNER JOIN AllowedSymbols A ON n.Number = A.ASCIICode
WHERE SUBSTRING([column],n.Number,1) = A.Symbol
Table AllowedSymbols contains all symbols not to be...
_____________
Code for TallyGenerator
December 12, 2006 at 3:17 am
> select * from tbl_ORD_CUST where c_order_id = x
It must be @x?
And what is the datatype of @x?
_____________
Code for TallyGenerator
December 11, 2006 at 8:01 pm
Original request was :
> Can anyone suggest a quick way to create 100,000 random numbers without using a cursor or loop ?
100,000 random numbers means 100,000 numbers, not a random...
_____________
Code for TallyGenerator
December 11, 2006 at 4:38 pm
chandrika5, to which of user records you wanna join fname2 lname2?
_____________
Code for TallyGenerator
December 9, 2006 at 2:52 am
When you pray for long life ask nt only for yourself. Pray also for Microsoft stil to be there and support current version of MS SQL Server.
_____________
Code for TallyGenerator
December 9, 2006 at 2:24 am
1700, 1800, 1900 were not leap years.
2100, 2200 will not be as well.
2000 was an exclusion because of "reverse compesation".
Leap year adds 6 hours to each year. Instead of 5...
_____________
Code for TallyGenerator
December 8, 2006 at 8:54 pm
You need scalar function taking string as 1st parameter and name part as 2nd one.
Then it's gonna be like this:
Select dbo.NamePart(FullName, 'FirstName') as FirstName, dbo.NamePart(FullName, 'MiddleName') as MiddleName, dbo.NamePart(FullName, 'LastName')...
_____________
Code for TallyGenerator
December 8, 2006 at 6:06 pm
http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=8&messageid=328977
_____________
Code for TallyGenerator
December 8, 2006 at 4:57 pm
December 8, 2006 at 3:21 pm
Viewing 15 posts - 4,666 through 4,680 (of 6,036 total)