Viewing 15 posts - 496 through 510 (of 1,923 total)
How many Degree ID's will you be passing to the query ?
February 22, 2012 at 3:15 pm
May be this ?
IF OBJECT_ID('CompuCol','U') IS NOT NULL
DROP TABLE dbo.CompuCol
CREATE TABLE dbo.CompuCol
(
ID INT IDENTITY(1,1)
,FName VARCHAR(20)
,LName VARCHAR(20)
...
February 22, 2012 at 1:43 pm
This, my friend?
DECLARE @Tab TABLE
( Id INT ,
Field1 VARCHAR(15),
Field2 VARCHAR(15),
Field3 VARCHAR(15)
)
INSERT INTO @Tab
...
February 22, 2012 at 12:22 pm
Dont understand what you are trying to do.. could be more specific on what you really want?
Please take a gander at this link on how to help us help you...
February 22, 2012 at 12:09 pm
Try these
select convert( int , 123.45 )
,convert( int , 123.55 )
,convert( int , 123.00 )
,convert( int , cast( '123.45' as decimal))
select convert( int , '123.45' )
February 21, 2012 at 4:11 pm
roryp 96873 (2/21/2012)
ColdCoffee (2/21/2012)
This MSDN link has a lot of information on ISNUMERIC.Read...
February 21, 2012 at 4:08 pm
ISNUMERIC will accept and approve decimals, dollar symbol and commas as valid characters! So dont belive ISNUMERIC always.
This MSDN link has a lot of information on ISNUMERIC.Read them up!
And for...
February 21, 2012 at 4:00 pm
The following link will help you decide that 🙂
http://www.sqlservercentral.com/articles/Temporary+Tables/66720/
February 21, 2012 at 1:23 pm
Also read the following article on the etiquettes to be followed while posting questions. Trust me, this will reap you rich benefits!
http://www.sqlservercentral.com/articles/Best+Practices/61537/
February 21, 2012 at 1:16 pm
Unsure on what you are trying to do!
Are you trying to find out the number of Null and Not Null rows? If yes, then this might help you
SELECT
...
February 21, 2012 at 1:15 pm
You may have to use Global Temp Tables or persisted tables to do that.. If you need your column names to be dynamically included in the CREATE Table clause, you...
February 21, 2012 at 12:07 pm
Just add
and bmovedout <> -1 or bmovedout is null
in your first SQL query
February 21, 2012 at 8:53 am
This (actually, the solution posted by Rory)
DECLARE @Table TABLE
( UserID INT , Interested INT
, Interesting INT , Purchased INT )
INSERT INTO @Table (UserID ,Interested, Interesting, Purchased...
February 20, 2012 at 5:46 pm
Jeff Moden (2/18/2012)
ColdCoffee (2/18/2012)
DECLARE @Table TABLE
( ColVal VARCHAR(10)...
February 18, 2012 at 6:43 pm
Viewing 15 posts - 496 through 510 (of 1,923 total)