Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)

  • RE: Want a solution on cursor problem

    Thanks John,

    Will try weitzera's suggestions.

  • RE: Want a solution on cursor problem

    Thanks John.!! For your kind reply.

    This problem is not related to just presentation. I wanted to create SP on it, which will work for millions of records. And i m...

  • RE: How to alter nvarchar datatype to varchar in sql server

    Hi buddy,

    This error comes because there is problem with your data length.

    Whenever you convert data type, please check your max(Len).

    Regards,

    prashavhad

  • RE: SSAS

    Please check with following possibilities, I have consider fact and geo tables

    1) Cross Join -- It will give you cartesian product of two tables = 1000*5=5000 rows

    2) Inner join --It...

  • RE: SQL Grouping Data

    Aggregate function error at your subquery.

    Remember if you are using group by, you must have all columns in the select clause :-).

  • RE: Project records using a view or something?

    You must use DATEADD (datepart , number , date ) function to increment your Date.

    See below what i had done.

    select getdate()

    Select Dateadd(yy,1,getdate())

    Create table DateData(EName varchar(20), TDate Datetime)

    insert into DateData values('Prashant',getdate())

    insert...

  • RE: Cartesian product sql query

    While inserting data into a table, you should remove starting and ending brackets between each column data.

    Please see below for this.

    insert into #Personel values('deneme1','deneme2','deneme3')

    insert into #Masa values('Masa1','masa2','masa3')

  • RE: joins

    Cross join results cartesian product of two or more than two tables.

    Cross join matches each record from table1 to table2

    Eg. if table1 contains 5 records and table2 contains 4 records...

  • RE: Write query results in tab delimited file and push the file to ftp

    Use Bcp Utility for this,

    create your format file without mentioning -t in format file

    Thanks & Regards,

    Prashant Avhad

  • RE: how to export data in sql server?

    You can use Export SSIS tool from Sql-2005 or DTS tool from Sql-2005.

    It will surely work to out your table into same data type

    Thanks & Regards,

    Prashant Avhad

Viewing 10 posts - 1 through 10 (of 10 total)