Viewing 15 posts - 1 through 15 (of 16 total)
Wandrag (9/18/2008)
Yip - just replace the "int" with a variable wich you populate with the datatype you want...ex.
DECLARE @DataType nVarchar(32)
set @DataType = ' Bigint'
Hi
I have tried With the following code...
September 18, 2008 at 3:35 am
shalini_pdi (9/18/2008)
Hi,I m sorry. I have missed sp_executesql . Thanks. Working fine
Is It Possible to pass the data type dynamically
September 18, 2008 at 2:10 am
Hi,
I m sorry. I have missed sp_executesql . Thanks. Working fine
September 18, 2008 at 1:54 am
Hi,
I have tried with the modified query as follows
Declare @ColumnName as Varchar(50)
declare @ssql nvarchar(200)
Set @ColumnName ='Column1'
set @ssql = 'Alter table shalinitestAdd ' + @ColumnName + ' int'
But...
September 18, 2008 at 1:45 am
Hi Jeff,
Thanks a lot, Working Perfectly after converting in to stored procedure
May 6, 2008 at 12:18 am
Jeff Moden (5/3/2008)
Following my own "rules", here some test tables and some test data...
--=====...
May 5, 2008 at 11:29 pm
hi jeff
As of now my requirement is i have to clone the item based on the locationid. so i have insert the recipe and recipelineItem based on the location.When...
May 3, 2008 at 3:31 am
Hi jeff
Consider the table structure would be
RecipeId RecipeName LocationId
1 chicken ...
May 2, 2008 at 11:26 pm
Hi Jeff
I m getting error when i get the query based on some condition as i have mentioned in previous post
May 2, 2008 at 1:05 am
Hi,
I will get these id in the gui.I have prob with the query bcoz if i give some thing like this SELECT @MaxRecipeId = MAX(RecipeId)
FROM Recipe Where...
April 29, 2008 at 11:51 pm
Hi jeff
This is just like copying the recipes and its corresponding lineitem from one location to other location to reduce the time of dataentry for the user to maintain in...
April 29, 2008 at 11:24 pm
hi Jeff
This is to implement some cloning functionality in my application
April 29, 2008 at 11:17 pm
hi Jeff Moden
Thanks for ur reply the same result i have expected.
April 29, 2008 at 11:06 pm
hi
I have Table name as Recipe
RecipeId Name......
1 Chicken
2 ...
April 29, 2008 at 7:26 am
Hi
I need to fetch the record by each row and get their id and update these id in the other table
For ex:
I have an user table with the...
April 29, 2008 at 5:34 am
Viewing 15 posts - 1 through 15 (of 16 total)